Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
4d452384a37f8fc2919a58f3134938df53e93ae8
/
src
/
raw_sock.c
1bc04c7
BUG/MINOR: threads: Add missing THREAD_LOCAL on static here and there
by Christopher Faulet
· 7 years ago
256b9c5
MINOR: raw_sock: make use of CO_FL_WILL_UPDATE
by Willy Tarreau
· 7 years ago
585744b
REORG/MEDIUM: connection: introduce the notion of connection handle
by Willy Tarreau
· 7 years ago
0d00593
CLEANUP: raw_sock: Use a better name for the constructor than __ssl_sock_deinit()
by Olivier Houchard
· 7 years ago
6812871
BUG/MINOR: raw_sock: always perfom the last recv if RDHUP is not available
by Willy Tarreau
· 8 years ago
d9f5cca
CLEANUP: connection: unexport raw_sock and ssl_sock
by Willy Tarreau
· 8 years ago
13e1410
MINOR: connection: add a minimal transport layer registration system
by Willy Tarreau
· 8 years ago
8e0bb0a
MINOR: connection: add names for transport and data layers
by Willy Tarreau
· 8 years ago
0724903
BUG/MINOR: raw_sock: also consider ENOTCONN in addition to EAGAIN for recv()
by Joshua M. Clulow
· 11 years ago
1049b1f
MEDIUM: connection: don't use real send() flags in snd_buf()
by Willy Tarreau
· 11 years ago
7e4086d
BUG/MINOR: raw_sock: correctly set the MSG_MORE flag
by Willy Tarreau
· 11 years ago
6c11bd2
OPTIM: raw-sock: don't speculate after a short read if polling is enabled
by Willy Tarreau
· 11 years ago
fd803bb
MEDIUM: connection: add check for readiness in I/O handlers
by Willy Tarreau
· 11 years ago
e1f50c4
MEDIUM: connection: remove conn_{data,sock}_poll_{recv,send}
by Willy Tarreau
· 11 years ago
abf08d9
BUG/MAJOR: connection: fix mismatch between rcv_buf's API and usage
by Willy Tarreau
· 11 years ago
f79c817
MAJOR: connection: add two new flags to indicate readiness of control/transport
by Willy Tarreau
· 11 years ago
ce3eda7
MINOR: connection: clear errno prior to checking for errors
by Willy Tarreau
· 11 years ago
26f4a04
MEDIUM: connection: set the socket shutdown flags on socket errors
by Willy Tarreau
· 11 years ago
61d39a0
BUG/MEDIUM: splicing: fix abnormal CPU usage with splicing
by Willy Tarreau
· 11 years ago
4fc90ef
BUG/MEDIUM: splicing is broken since 1.5-dev12
by Willy Tarreau
· 12 years ago
b6daedd
OPTIM: splice: assume by default that splice is working correctly
by Willy Tarreau
· 12 years ago
baf2a50
OPTIM: splice: detect shutdowns and avoid splice() == 0
by Willy Tarreau
· 12 years ago
5fb3803
CLEANUP: buffer: use buffer_empty() instead of buffer_len()==0
by Willy Tarreau
· 12 years ago
debdc4b
BUG/MAJOR: raw_sock: must check error code on hangup
by Willy Tarreau
· 12 years ago
45b8893
MINOR: splice: disable it when the system returns EBADF
by Willy Tarreau
· 12 years ago
0ea0cf6
BUG: raw_sock: also consider ENOTCONN in addition to EAGAIN
by Willy Tarreau
· 12 years ago
665e6ee
MEDIUM: connection: it's not the data layer's role to validate the connection
by Willy Tarreau
· 12 years ago
f7bc57c
REORG: connection: rename the data layer the "transport layer"
by Willy Tarreau
· 12 years ago
6f5d141
MEDIUM: raw_sock: improve connection error reporting
by Willy Tarreau
· 12 years ago
c0e9886
MINOR: raw_sock: always report asynchronous connection errors
by Willy Tarreau
· 12 years ago
d1d5454
REORG: split "protocols" files into protocol and listener
by Willy Tarreau
· 12 years ago
56a77e5
MEDIUM: connection: complete the polling cleanups
by Willy Tarreau
· 12 years ago
c7e4238
REORG: buffers: split buffers into chunk,buffer,channel
by Willy Tarreau
· 12 years ago
c578891
CLEANUP: connection: split sock_ops into data_ops, app_cp and si_ops
by Willy Tarreau
· 12 years ago
96199b1
MAJOR: stream-interface: restore splicing mechanism
by Willy Tarreau
· 12 years ago
5368d80
MAJOR: connection: split the send call into connection and stream interface
by Willy Tarreau
· 12 years ago
ce323de
REORG: stream-interface: move sock_raw_read() to si_conn_recv_cb()
by Willy Tarreau
· 12 years ago
1fe6bc3
MINOR: stream-interface: add an rcv_buf callback to sock_ops
by Willy Tarreau
· 12 years ago
af978c4
MAJOR: raw_sock: temporarily disable splicing
by Willy Tarreau
· 12 years ago
2ba4465
MAJOR: raw_sock: extract raw_sock_to_buf() from raw_sock_read()
by Willy Tarreau
· 12 years ago
75bf2c9
REORG: sock_raw: rename the files raw_sock*
by Willy Tarreau
· 12 years ago
[Renamed (99%) from src/sock_raw.c]
572bf90
REORG/MAJOR: extract "struct buffer" from "struct channel"
by Willy Tarreau
· 12 years ago
7421efb
REORG/MAJOR: use "struct channel" instead of "struct buffer"
by Willy Tarreau
· 12 years ago
9bf9c14
MEDIUM: stream-interface: provide a generic stream_sock_read0() function
by Willy Tarreau
· 12 years ago
eecf6ca
MEDIUM: stream-interface: provide a generic si_conn_send_cb callback
by Willy Tarreau
· 12 years ago
de5722c
MEDIUM: stream-interface: provide a generic stream_int_chk_snd_conn() function
by Willy Tarreau
· 12 years ago
fae4499
MEDIUM: stream-interface: add a snd_buf() callback to sock_ops
by Willy Tarreau
· 12 years ago
46a8d92
MEDIUM: stream-interface: offer a generic chk_rcv function for connections
by Willy Tarreau
· 12 years ago
100c467
MEDIUM: stream_interface: offer a generic function for connection updates
by Willy Tarreau
· 12 years ago
afad0e0
MAJOR: make use of conn_{data|sock}_{poll|stop|want}* in connection handlers
by Willy Tarreau
· 12 years ago
f9dabec
MEDIUM: connection: make use of the new polling functions
by Willy Tarreau
· 12 years ago
49b046d
MAJOR: fd: replace all EV_FD_* macros with new fd_*_* inline calls
by Willy Tarreau
· 12 years ago
4a36b56
MAJOR: stream_int: use a common stream_int_shut*() functions regardless of the data layer
by Willy Tarreau
· 12 years ago
3d8903f
MEDIUM: sock_raw: introduce a read0 callback that is different from shutr
by Willy Tarreau
· 12 years ago
8b11708
REORG: connection: replace si_data_close() with conn_data_close()
by Willy Tarreau
· 12 years ago
3438f5d
MINOR: sock_raw: move calls to si_data_close upper
by Willy Tarreau
· 12 years ago
3788e4c
MEDIUM: fd: remove the EV_FD_COND_* primitives
by Willy Tarreau
· 12 years ago
3c55ec2
MEDIUM: stream_interface: centralize the SI_FL_ERR management
by Willy Tarreau
· 12 years ago
239d718
MEDIUM: stream_interface: pass connection instead of fd in sock_ops
by Willy Tarreau
· 12 years ago
fd31e53
MAJOR: remove the stream interface and task management code from sock_*
by Willy Tarreau
· 12 years ago
61ace1b
MEDIUM: connection: remove the FD_POLL_* flags only once
by Willy Tarreau
· 12 years ago
8018471
MINOR: fd: make fdtab->owner a connection and not a stream_interface anymore
by Willy Tarreau
· 12 years ago
505e34a
MAJOR: get rid of fdtab[].state and use connection->flags instead
by Willy Tarreau
· 12 years ago
801a0a3
DOC: fix name for "option independant-streams"
by Jamie Gloudon
· 12 years ago
4da69a9
MEDIUM: stream_interface: call si_data_close() before releasing the si
by Willy Tarreau
· 13 years ago
2420827
MINOR: stream_interface: add a data channel close function
by Willy Tarreau
· 13 years ago
fb7508a
REORG/MINOR: stream_interface: move si->fd to struct connection
by Willy Tarreau
· 13 years ago
73b013b
MINOR: stream_interface: introduce a new "struct connection" type
by Willy Tarreau
· 13 years ago
a190d59
REORG: move the send-proxy code to tcp_connect_write()
by Willy Tarreau
· 13 years ago
8ae52cb
BUG/MINOR: stop connect timeout when connect succeeds
by Willy Tarreau
· 13 years ago
be0688c
MEDIUM: stream_interface: remove the si->init
by Willy Tarreau
· 13 years ago
7af4605
BUG/MAJOR: trash must always be the size of a buffer
by David du Colombier
· 13 years ago
7bb68ab
OPTIM/MEDIUM: stream_interface: add a new SI_FL_NOHALF flag
by Willy Tarreau
· 13 years ago
eeda90e
MAJOR: fd: remove the need for the socket layer to recheck the connection
by Willy Tarreau
· 13 years ago
64798bd
MINOR: stream_interface: add an init callback to sock_ops
by Willy Tarreau
· 13 years ago
b277d6e
CLEANUP: sock_raw: remove last references to stream_sock
by Willy Tarreau
· 13 years ago
c63190d
REORG: use the name sock_raw instead of stream_sock
by Willy Tarreau
· 13 years ago
[Renamed (99%) from src/stream_sock.c]
bbebbbf
REORG/MEDIUM: move the default accept function from sockstream to protocols.c
by Willy Tarreau
· 13 years ago
5c979a9
REORG/MEDIUM: stream_interface: initialize socket ops from descriptors
by Willy Tarreau
· 13 years ago
1b79bde
REORG/MEDIUM: move protocol->{read,write} to sock_ops
by Willy Tarreau
· 13 years ago
060781f
REORG: stream_interface: create a struct sock_ops to hold socket operations
by Willy Tarreau
· 13 years ago
9dab5fc
MEDIUM: buffers: rename a number of buffer management functions
by Willy Tarreau
· 13 years ago
328582c
MEDIUM: buffers: implement b_adv() to advance a buffer's pointer
by Willy Tarreau
· 13 years ago
cc5cfcb
MEDIUM: buffers: add new pointer wrappers and get rid of almost all buffer_wrap_add calls
by Willy Tarreau
· 13 years ago
a458b67
MAJOR: http: move buffer->lr to http_msg->next
by Willy Tarreau
· 13 years ago
363a5bb
MAJOR: buffers: replace buf->r with buf->p + buf->i
by Willy Tarreau
· 13 years ago
89fa706
MAJOR: buffers: replace buf->w with buf->p - buf->o
by Willy Tarreau
· 13 years ago
02d6cfc
MAJOR: buffer: replace buf->l with buf->{o+i}
by Willy Tarreau
· 13 years ago
2e046c6
MAJOR: buffer rework: replace ->send_max with ->o
by Willy Tarreau
· 13 years ago
ad4cd58
BUG: stream_sock: si->release was not called upon shutw()
by Willy Tarreau
· 13 years ago
f17810e
BUG/MINOR: stream_sock: don't remove BF_EXPECT_MORE and BF_SEND_DONTWAIT on partial writes
by Willy Tarreau
· 13 years ago
82a0456
OPTIM: stream_sock: save a failed recv syscall when splice returns EAGAIN
by Willy Tarreau
· 13 years ago
eb9fd51
OPTIM: stream_sock: reduce the amount of in-flight spliced data
by Willy Tarreau
· 13 years ago
6471afb
MINOR: remove the client/server side distinction in SI addresses
by Willy Tarreau
· 13 years ago
3c63fd8
[MEDIUM] don't limit peers nor stats socket to maxconn nor maxconnrate
by Willy Tarreau
· 13 years ago
81c25d0
[MEDIUM] add support for global.maxconnrate to limit the per-process conn rate.
by Willy Tarreau
· 13 years ago
43d8fb2
[REORG] build: move syscall redefinition to specific places
by Willy Tarreau
· 13 years ago
e9b2602
[MEDIUM] listeners: add a global listener management task
by Willy Tarreau
· 13 years ago
918ff60
[MAJOR] proxy: finally get rid of maintain_proxies()
by Willy Tarreau
· 13 years ago
07687c1
[MEDIUM] listeners: queue proxy-bound listeners at the proxy's
by Willy Tarreau
· 13 years ago
Next »