Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
2ac34d97a6efc60c9b8738a81b31619330287ceb
/
src
/
raw_sock.c
« Previous
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
· 15 years ago
1714e0f
[BUG] stream_sock: disable I/O on fds reporting an error
by Willy Tarreau
· 15 years ago
127334e
[BUG] reset the stream_interface connect timeout upon connect or error
by Willy Tarreau
· 15 years ago
1b194fe
[OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates
by Willy Tarreau
· 15 years ago
6f4a82c
[OPTIM] stream_sock: don't retry to read after a large read
by Willy Tarreau
· 15 years ago
c961946
[BUG] stream_sock: write timeout must be updated when forwarding !
by Willy Tarreau
· 15 years ago
87bed62
[BUILD] build fixes for Solaris
by Willy Tarreau
· 15 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
e393fe2
[MEDIUM] buffers: add BF_EMPTY and BF_FULL to remove dependency on req/rep->l
by Willy Tarreau
· 16 years ago
ba392ce
[CLEANUP] get rid of BF_SHUT*_PENDING
by Willy Tarreau
· 16 years ago
adfb856
[MAJOR] get rid of SV_STANALYZE (step 2)
by Willy Tarreau
· 16 years ago
9f1f24b
[BUG] client timeout incorrectly rearmed while waiting for server
by Willy Tarreau
· 16 years ago
ec6c5df
[CLEANUP] remove many #include <types/xxx> from C files
by Willy Tarreau
· 16 years ago
0c303ee
[MAJOR] convert all expiration timers from timeval to ticks
by Willy Tarreau
· 16 years ago
8a7af60
[MEDIUM] detect streaming buffers and tag them as such
by Willy Tarreau
· 16 years ago
d6f087e
[BUG] fix truncated responses with sepoll
by Willy Tarreau
· 17 years ago
e94ebd0
[MEDIUM] moved the sockaddr pointer to the fdtab structure
by Willy Tarreau
· 17 years ago
ab3e1d3
[MEDIUM] optimize I/O by detecting system starvation
by Willy Tarreau
· 17 years ago
fa64558
[BUG] do not re-arm read timeout after writing data
by Willy Tarreau
· 17 years ago
a8b55e3
[MINOR] use non-inline tv_* functions in many locations
by Willy Tarreau
· 17 years ago
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· 17 years ago
6996e15
[BUG] fixed connection establishment detection
by Willy Tarreau
· 17 years ago
42aae5c
[MEDIUM] many cleanups in the time functions
by Willy Tarreau
· 17 years ago
96bcfd7
[MAJOR] replaced rbtree with ul2tree.
by Willy Tarreau
· 17 years ago
9f19529
[MAJOR] remove useless calls to shutdown(SHUT_RD)
by Willy Tarreau
· 17 years ago
8374918
[MAJOR] implemented support for speculative I/O processing
by Willy Tarreau
· 17 years ago
f161a34
[MEDIUM] updated all files to use EV_FD_*
by Willy Tarreau
· 17 years ago
9641e8f
[MINOR] read optimizations based on the MSS
by Willy Tarreau
· 17 years ago
b8949f1
[MEDIUM] re-implemented the multiple read polling
by Willy Tarreau
· 17 years ago
5416b36
[CLEANUP] removed useless includes from streamsock.c
by Willy Tarreau
· 17 years ago
e09e0ce
[MINOR] removed the ->h member in struct buffer
by Willy Tarreau
· 17 years ago
c642348
[CLEANUP] add a few checks for functions return values
by Willy Tarreau
· 18 years ago
2a42950
[MINOR] turn every FD_* into functions
by Willy Tarreau
· 18 years ago
f8306d5
[MEDIUM] got rid of event_{cli,srv}_write() in favor of stream_sock_write()
by Willy Tarreau
· 18 years ago
d797128
[MEDIUM] got rid of event_{cli,srv}_read() in favor of stream_sock_read()
by Willy Tarreau
· 18 years ago
0f9f505
[MEDIUM] removed all res_* and RES_*
by Willy Tarreau
· 18 years ago
5446940
[MEDIUM] started the changes towards I/O completion callbacks
by Willy Tarreau
· 18 years ago
e3ba5f0
[CLEANUP] included common/version.h everywhere
by Willy Tarreau
· 18 years ago
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· 18 years ago
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· 18 years ago