Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
7782e238ca5d1a4584228c7f62cd73802aec42cd
/
src
/
raw_sock.c
« Previous
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
· 12 years ago
2420827
MINOR: stream_interface: add a data channel close function
by Willy Tarreau
· 12 years ago
fb7508a
REORG/MINOR: stream_interface: move si->fd to struct connection
by Willy Tarreau
· 12 years ago
73b013b
MINOR: stream_interface: introduce a new "struct connection" type
by Willy Tarreau
· 12 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
08ceb10
[MEDIUM] listeners: put listeners in queue upon resource shortage
by Willy Tarreau
· 13 years ago
6279371
[MINOR] listeners: add listen_full() to mark a listener full
by Willy Tarreau
· 13 years ago
ff45b8c
[BUG] stream_sock: ensure orphan listeners don't accept too many connections
by Willy Tarreau
· 13 years ago
1002987
[BUG] stream_sock: disable listener when system resources are exhausted
by Willy Tarreau
· 13 years ago
14acc70
[OPTIM] stream_sock: don't use splice on too small payloads
by Willy Tarreau
· 14 years ago
22be90b
[OPTIM] stream_sock: avoid fast-forwarding of partial data
by Willy Tarreau
· 14 years ago
96e3121
[MEDIUM] http: add support for "http-no-delay"
by Willy Tarreau
· 13 years ago
f8ca19b
[CLEANUP] stream_sock: remove unneeded FL_TCP and factor out test
by Willy Tarreau
· 13 years ago
8f8b492
[MINOR] stream_sock: always clear BF_EXPECT_MORE upon complete transfer
by Willy Tarreau
· 14 years ago
68f49da
[BUG] stream_sock: fix handling for server side PROXY protocol
by Willy Tarreau
· 14 years ago
b22e55b
[MEDIUM] stream_sock: add support for sending the proxy protocol header line
by Willy Tarreau
· 14 years ago
7c0a151
[CLEANUP] stream_interface: remove the applet.handler pointer
by Willy Tarreau
· 14 years ago
b24281b
[MINOR] stream_interface: make use of an applet descriptor for IO handlers
by Willy Tarreau
· 14 years ago
32d3ee9
[CRITICAL] session: correctly leave turn-around and queue states on abort
by Willy Tarreau
· 14 years ago
48d84c1
[OPTIM] linux: add support for bypassing libc to force using vsyscalls
by Willy Tarreau
· 14 years ago
11f4940
[OPTIM] stream_sock: don't clear FDs that are already cleared
by Willy Tarreau
· 14 years ago
abe8ea5
[BUG] accept: don't close twice upon error
by Willy Tarreau
· 14 years ago
fffe132
[CLEANUP] accept: replace some inappropriate Alert() calls with send_log()
by Willy Tarreau
· 14 years ago
fe598a7
[BUILD] stream_sock: previous fix lacked the #include, causing a warning.
by Willy Tarreau
· 14 years ago
e9f32db
[BUG] stream_sock: cleanly disable the listener in case of resource shortage
by Willy Tarreau
· 14 years ago
af7ad00
[MINOR] support a global jobs counter
by Willy Tarreau
· 14 years ago
5af1fa1
[MAJOR] stream_sock: better wakeup conditions on read()
by Willy Tarreau
· 14 years ago
0bd05ea
[MEDIUM] stream-interface: add a ->release callback
by Willy Tarreau
· 14 years ago
24dcaf3
[MEDIUM] frontend: count the incoming connection earlier
by Willy Tarreau
· 14 years ago
7999ddb
[MINOR] stream_sock: don't dereference a non-existing frontend
by Willy Tarreau
· 14 years ago
a8f55d5
[MEDIUM] backend: initialize the server stream_interface upon connect()
by Willy Tarreau
· 14 years ago
eb47268
[MEDIUM] separate protocol-level accept() from the frontend's
by Willy Tarreau
· 14 years ago
03fa5df
[CLEANUP] rename client -> frontend
by Willy Tarreau
· 14 years ago
7340ca5
[OPTIM] stream_sock: don't shutdown(write) when the socket is in error
by Willy Tarreau
· 15 years ago
fc1daaf
[CLEANUP] stream_sock: MSG_NOSIGNAL is only for send(), not recv()
by Willy Tarreau
· 15 years ago
2be3939
[MINOR] http: don't wait for sending requests to the server
by Willy Tarreau
· 15 years ago
face839
[OPTIM] http: set MSG_MORE on response when a pipelined request is pending
by Willy Tarreau
· 15 years ago
d38b53b
[MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data
by Willy Tarreau
· 15 years ago
4c283dc
[MINOR] stream_sock: add SI_FL_NOLINGER for faster close
by Willy Tarreau
· 15 years ago
33b2db6
[MINOR] stream_sock: prepare for closing when all pending data are sent
by Willy Tarreau
· 15 years ago
864e825
[BUG] stream_sock: wrong max computation on recv
by Willy Tarreau
· 15 years ago
7c3c541
[MAJOR] buffers: automatically compute the maximum buffer length
by Willy Tarreau
· 15 years ago
a9de333
[BUG] stream_sock: BUF_INFINITE_FORWARD broke splice on 64-bit platforms
by Willy Tarreau
· 15 years ago
f1ba4b3
[MAJOR] buffer: flag BF_DONT_READ to disable reads when not required
by Willy Tarreau
· 15 years ago
8d5d77e
[OPTIM] move some rarely used fields out of fdtab
by Willy Tarreau
· 15 years ago
fe8903c
[BUG] don't refresh timeouts late after detected activity
by Willy Tarreau
· 15 years ago
f27b5ea
[MEDIUM] new option "independant-streams" to stop updating read timeout on writes
by Willy Tarreau
· 15 years ago
89f7ef2
[MINOR] stream_interface: add SI_FL_DONT_WAKE flag
by Willy Tarreau
· 15 years ago
31971e5
[MEDIUM] add support for infinite forwarding
by Willy Tarreau
· 15 years ago
59454bf
[MINOR] stream_sock: don't set SI_FL_WAIT_DATA if BF_SHUTW_NOW is set
by Willy Tarreau
· 15 years ago
ba0b63d
[MAJOR] buffers: fix the BF_EMPTY flag's meaning
by Willy Tarreau
· 15 years ago
Next »