Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
666f5049069e2d05bd31b421f7cffb12545d29af
/
src
/
raw_sock.c
« Previous
8f8b492
[MINOR] stream_sock: always clear BF_EXPECT_MORE upon complete transfer
by Willy Tarreau
· 13 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
520d95e
[MAJOR] buffers: split BF_WRITE_ENA into BF_AUTO_CONNECT and BF_AUTO_CLOSE
by Willy Tarreau
· 15 years ago
418fd47
[MAJOR] buffers: fix misuse of the BF_SHUTW_NOW flag
by Willy Tarreau
· 15 years ago
caf5898
[BUILD] compilation of haproxy-1.4-dev2 on FreeBSD
by Dmitry Sivachenko
· 15 years ago
6db06d3
[MEDIUM] remove TCP_CORK and make use of MSG_MORE instead
by Willy Tarreau
· 15 years ago
d6d0690
[CLEANUP] remove ifdef MSG_NOSIGNAL and define it instead
by Willy Tarreau
· 15 years ago
a07a34e
[MEDIUM] replace BUFSIZE with buf->size in computations
by Willy Tarreau
· 15 years ago
c9fce2f
[BUILD] fix build for systems without SOL_TCP
by Willy Tarreau
· 15 years ago
c54aef3
[BUG] fix random pauses on last segment of a series
by Willy Tarreau
· 15 years ago
7154365
[BUG] stream_sock: don't stop reading when the poller reports an error
by Willy Tarreau
· 15 years ago
720058c
[BUG] stream_sock: always shutdown(SHUT_WR) before closing
by Willy Tarreau
· 15 years ago
dc340a9
[MEDIUM] splice: set the capability on each stream_interface
by Willy Tarreau
· 15 years ago
5d707e1
[MEDIUM] stream_sock: don't close prematurely when nolinger is set
by Willy Tarreau
· 15 years ago
fb14edc
[MEDIUM] stream_sock: implement tcp-cork for use during shutdowns on Linux
by Willy Tarreau
· 15 years ago
d06e711
[BUG] stream_sock: check for shut{r,w} before refreshing some timeouts
by Willy Tarreau
· 16 years ago
1714e0f
[BUG] stream_sock: disable I/O on fds reporting an error
by Willy Tarreau
· 16 years ago
127334e
[BUG] reset the stream_interface connect timeout upon connect or error
by Willy Tarreau
· 16 years ago
1b194fe
[OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates
by Willy Tarreau
· 16 years ago
6f4a82c
[OPTIM] stream_sock: don't retry to read after a large read
by Willy Tarreau
· 16 years ago
c961946
[BUG] stream_sock: write timeout must be updated when forwarding !
by Willy Tarreau
· 16 years ago
87bed62
[BUILD] build fixes for Solaris
by Willy Tarreau
· 16 years ago
9b97cff
[BUILD] Haproxy won't compile if DEBUG_FULL is defined
by Vincenzo Farruggia
· 16 years ago
3eba98a
[MEDIUM] splice: make use of pipe pools
by Willy Tarreau
· 16 years ago
98b306b
[MEDIUM] splice: add hints to support older buggy kernels
by Willy Tarreau
· 16 years ago
5bd8c37
[MAJOR] complete support for linux 2.6 kernel splicing
by Willy Tarreau
· 16 years ago
6b4aad4
[MEDIUM] add definitions for Linux kernel splicing
by Willy Tarreau
· 16 years ago
a456f2a
[MEDIUM] stream_sock: try to send pending data on chk_snd()
by Willy Tarreau
· 16 years ago
d2def0f
[MINOR] stream_sock: fix a few wrong empty calculations
by Willy Tarreau
· 16 years ago
9c0fe59
[MEDIUM] stream_sock_read: call ->chk_snd whenever there are data pending
by Willy Tarreau
· 16 years ago
0c2fc1f
[MEDIUM] split stream_sock_write() into callback and core functions
by Willy Tarreau
· 16 years ago
ac128fe
[CLEANUP] stream_sock: move the write-nothing condition out of the loop
by Willy Tarreau
· 16 years ago
efc612c
[CLEANUP] replace a few occurrences of (flags & X) && !(flags & Y)
by Willy Tarreau
· 16 years ago
68eac13
[OPTIM] stream_sock: factor out the buffer full handling out of the loop
by Willy Tarreau
· 16 years ago
03d60bb
[OPTIM] buffer: replace rlim by max_len
by Willy Tarreau
· 16 years ago
af78d0f
[OPTIM] stream_sock: do not ask for polling on EAGAIN if we have read
by Willy Tarreau
· 16 years ago
0abebcc
[MEDIUM] i/o: rework ->to_forward and ->send_max
by Willy Tarreau
· 16 years ago
4d9b1de
[MEDIUM] stream_sock: factor out the return path in case of no-writes
by Willy Tarreau
· 16 years ago
dcef33f
[MINOR] add the splice_len member to the buffer struct in preparation of splice support
by Willy Tarreau
· 16 years ago
6b66f3e
[MAJOR] implement autonomous inter-socket forwarding
by Willy Tarreau
· 16 years ago
3ffeba1
[MEDIUM] enable inter-stream_interface wakeup calls
by Willy Tarreau
· 16 years ago
b0ef735
[MINOR] add flags to indicate when a stream interface is waiting for space/data
by Willy Tarreau
· 16 years ago
86491c3
[MEDIUM] indicate when we don't care about read timeout
by Willy Tarreau
· 16 years ago
f890dc9
[MEDIUM] add a send limit to a buffer
by Willy Tarreau
· 16 years ago
7f00651
[MEDIUM] ensure that sock->shutw() also closes read for init states
by Willy Tarreau
· 16 years ago
b025325
[MINOR] stream_sock_data_finish() should not expose fd
by Willy Tarreau
· 16 years ago
fe3718a
[MAJOR] complete layer4/7 separation
by Willy Tarreau
· 16 years ago
99126c3
[MEDIUM] make the stream interface control the SHUT{R,W} bits
by Willy Tarreau
· 16 years ago
8bfa426
[MEDIUM] process shutw during connection attempt
by Willy Tarreau
· 16 years ago
b38903c
[BUG] shutw must imply close during a connect
by Willy Tarreau
· 16 years ago
0a5d5dd
[MEDIUM] remove stream_sock_update_data()
by Willy Tarreau
· 16 years ago
74ab2ac
[MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO
by Willy Tarreau
· 16 years ago
cff6411
[MAJOR] add a connection error state to the stream_interface
by Willy Tarreau
· 16 years ago
d7704b5
[MINOR] add an expiration flag to the stream_sock_interface
by Willy Tarreau
· 16 years ago
3c6ab2e
[MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts()
by Willy Tarreau
· 16 years ago
48adac5
[MEDIUM] stream interface: add the ->shutw method as well as in and out buffers
by Willy Tarreau
· 16 years ago
e5ed406
[MAJOR] make stream sockets aware of the stream interface
by Willy Tarreau
· 16 years ago
fdccded
[MEDIUM] indicate a reason for a task wakeup
by Willy Tarreau
· 16 years ago
21e1be8
[MINOR] do not check for BF_SHUTR when computing write timeout
by Willy Tarreau
· 16 years ago
3da77c5
[MINOR] re-arrange buffer flags and rename some of them
by Willy Tarreau
· 16 years ago
2bea3a1
[OPTIM] stream_sock_read must check for null-reads more often
by Willy Tarreau
· 16 years ago
3a16b2c
[MEDIUM] split stream_sock_process_data
by Willy Tarreau
· 16 years ago
2d21279
[MEDIUM] stream_sock_process_data moved to stream_sock.c
by Willy Tarreau
· 16 years ago
fa7e102
[MAJOR] rework of the server FSM
by Willy Tarreau
· 16 years ago
Next »