Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
47479eb0e7d2f559836f02e9096308844ec2632f
/
src
/
raw_sock.c
ccf3f6d
MEDIUM: connection: enable reading only once the connection is confirmed
by Willy Tarreau
· 5 years ago
03abf2d
MEDIUM: connections: Remove CONN_FL_SOCK*
by Olivier Houchard
· 6 years ago
5149b59
MINOR: connections: Add a new xprt method, remove_xprt.
by Olivier Houchard
· 6 years ago
7cf0e45
MINOR: raw_sock: report global traffic statistics
by Willy Tarreau
· 6 years ago
3844747
CLEANUP: raw_sock: remove support for very old linux splice bug workaround
by Willy Tarreau
· 6 years ago
e573323
CLEANUP: build: rename some build macros to use the USE_* ones
by Willy Tarreau
· 6 years ago
034c88c
MEDIUM: tcp: add the "tfo" option to support TCP fastopen on the server
by Willy Tarreau
· 8 years ago
e179d0e
MEDIUM: connections: Provide a xprt_ctx for each xprt method.
by Olivier Houchard
· 6 years ago
f24502b
BUG/MEDIUM: connections: Add the CO_FL_CONNECTED flag if a send succeeded.
by Olivier Houchard
· 6 years ago
e0f24ee
MINOR: connection: realign empty buffers in muxes, not transport layers
by Willy Tarreau
· 6 years ago
83a0cd8
MINOR: connections: Introduce an unsubscribe method.
by Olivier Houchard
· 6 years ago
6ff2039
MINOR: connections/mux: Add a new "subscribe" method.
by Olivier Houchard
· 6 years ago
acd1403
MINOR: buffer: Use b_add()/bo_add() instead of accessing b->i/b->o.
by Olivier Houchard
· 6 years ago
591d445
MINOR: buffer: use b_orig() to replace most references to b->data
by Willy Tarreau
· 6 years ago
0c7ed5d
MINOR: buffer: replace buffer_empty() with b_empty() or c_empty()
by Willy Tarreau
· 6 years ago
7f3225f
MINOR: connection: add a flags argument to rcv_buf()
by Willy Tarreau
· 6 years ago
bfc4d77
MEDIUM: connection: make xprt->rcv_buf() use size_t for the count
by Willy Tarreau
· 6 years ago
787db9a
MEDIUM: connection: make xprt->snd_buf() take the byte count in argument
by Willy Tarreau
· 6 years ago
8f9c72d
MINOR: buffer: remove bi_end()
by Willy Tarreau
· 6 years ago
89faf5d
MINOR: buffer: remove bo_ptr()
by Willy Tarreau
· 6 years ago
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
Next »