Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
66dc20a17becae486e4a70e5707ec66c6671d6a7
/
src
/
stream_sock.c
7340ca5
[OPTIM] stream_sock: don't shutdown(write) when the socket is in error
by Willy Tarreau
· Sat Jan 16 10:03:45 2010 +0100
fc1daaf
[CLEANUP] stream_sock: MSG_NOSIGNAL is only for send(), not recv()
by Willy Tarreau
· Fri Jan 15 10:26:13 2010 +0100
2be3939
[MINOR] http: don't wait for sending requests to the server
by Willy Tarreau
· Sun Jan 03 17:24:51 2010 +0100
face839
[OPTIM] http: set MSG_MORE on response when a pipelined request is pending
by Willy Tarreau
· Sun Jan 03 11:37:54 2010 +0100
d38b53b
[MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data
by Willy Tarreau
· Sun Jan 03 11:18:34 2010 +0100
4c283dc
[MINOR] stream_sock: add SI_FL_NOLINGER for faster close
by Willy Tarreau
· Tue Dec 29 14:36:34 2009 +0100
33b2db6
[MINOR] stream_sock: prepare for closing when all pending data are sent
by Willy Tarreau
· Tue Dec 29 08:02:56 2009 +0100
864e825
[BUG] stream_sock: wrong max computation on recv
by Willy Tarreau
· Mon Dec 28 17:36:37 2009 +0100
7c3c541
[MAJOR] buffers: automatically compute the maximum buffer length
by Willy Tarreau
· Sun Dec 13 15:53:05 2009 +0100
a9de333
[BUG] stream_sock: BUF_INFINITE_FORWARD broke splice on 64-bit platforms
by Willy Tarreau
· Sat Nov 28 07:47:10 2009 +0100
f1ba4b3
[MAJOR] buffer: flag BF_DONT_READ to disable reads when not required
by Willy Tarreau
· Sat Oct 17 14:37:52 2009 +0200
8d5d77e
[OPTIM] move some rarely used fields out of fdtab
by Willy Tarreau
· Sun Oct 18 07:25:52 2009 +0200
fe8903c
[BUG] don't refresh timeouts late after detected activity
by Willy Tarreau
· Sun Oct 04 10:56:08 2009 +0200
f27b5ea
[MEDIUM] new option "independant-streams" to stop updating read timeout on writes
by Willy Tarreau
· Sat Oct 03 22:01:18 2009 +0200
89f7ef2
[MINOR] stream_interface: add SI_FL_DONT_WAKE flag
by Willy Tarreau
· Sat Sep 05 20:57:35 2009 +0200
31971e5
[MEDIUM] add support for infinite forwarding
by Willy Tarreau
· Sun Sep 20 12:07:52 2009 +0200
59454bf
[MINOR] stream_sock: don't set SI_FL_WAIT_DATA if BF_SHUTW_NOW is set
by Willy Tarreau
· Sun Sep 20 11:13:40 2009 +0200
ba0b63d
[MAJOR] buffers: fix the BF_EMPTY flag's meaning
by Willy Tarreau
· Sun Sep 20 08:09:44 2009 +0200
520d95e
[MAJOR] buffers: split BF_WRITE_ENA into BF_AUTO_CONNECT and BF_AUTO_CLOSE
by Willy Tarreau
· Sat Sep 19 21:04:57 2009 +0200
418fd47
[MAJOR] buffers: fix misuse of the BF_SHUTW_NOW flag
by Willy Tarreau
· Sun Sep 06 21:37:23 2009 +0200
caf5898
[BUILD] compilation of haproxy-1.4-dev2 on FreeBSD
by Dmitry Sivachenko
· Mon Aug 24 15:11:06 2009 +0400
6db06d3
[MEDIUM] remove TCP_CORK and make use of MSG_MORE instead
by Willy Tarreau
· Wed Aug 19 11:14:11 2009 +0200
d6d0690
[CLEANUP] remove ifdef MSG_NOSIGNAL and define it instead
by Willy Tarreau
· Wed Aug 19 11:22:33 2009 +0200
a07a34e
[MEDIUM] replace BUFSIZE with buf->size in computations
by Willy Tarreau
· Sun Aug 16 23:27:46 2009 +0200
c9fce2f
[BUILD] fix build for systems without SOL_TCP
by Willy Tarreau
· Sun Aug 16 14:13:47 2009 +0200
c54aef3
[BUG] fix random pauses on last segment of a series
by Willy Tarreau
· Mon Jul 27 20:08:06 2009 +0200
7154365
[BUG] stream_sock: don't stop reading when the poller reports an error
by Willy Tarreau
· Tue Jul 14 19:55:05 2009 +0200
720058c
[BUG] stream_sock: always shutdown(SHUT_WR) before closing
by Willy Tarreau
· Tue Jul 14 19:21:50 2009 +0200
dc340a9
[MEDIUM] splice: set the capability on each stream_interface
by Willy Tarreau
· Sun Jun 28 23:10:19 2009 +0200
5d707e1
[MEDIUM] stream_sock: don't close prematurely when nolinger is set
by Willy Tarreau
· Sun Jun 28 11:09:07 2009 +0200
fb14edc
[MEDIUM] stream_sock: implement tcp-cork for use during shutdowns on Linux
by Willy Tarreau
· Sun Jun 14 15:24:37 2009 +0200
d06e711
[BUG] stream_sock: check for shut{r,w} before refreshing some timeouts
by Willy Tarreau
· Sun Mar 29 10:18:41 2009 +0200
1714e0f
[BUG] stream_sock: disable I/O on fds reporting an error
by Willy Tarreau
· Sat Mar 28 20:54:53 2009 +0100
127334e
[BUG] reset the stream_interface connect timeout upon connect or error
by Willy Tarreau
· Sat Mar 28 10:47:26 2009 +0100
1b194fe
[OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates
by Willy Tarreau
· Sat Mar 21 21:10:04 2009 +0100
6f4a82c
[OPTIM] stream_sock: don't retry to read after a large read
by Willy Tarreau
· Sat Mar 21 20:43:57 2009 +0100
c961946
[BUG] stream_sock: write timeout must be updated when forwarding !
by Willy Tarreau
· Mon Mar 09 22:40:57 2009 +0100
87bed62
[BUILD] build fixes for Solaris
by Willy Tarreau
· Sun Mar 08 22:25:28 2009 +0100
9b97cff
[BUILD] Haproxy won't compile if DEBUG_FULL is defined
by Vincenzo Farruggia
· Fri Jan 30 16:49:10 2009 +0000
3eba98a
[MEDIUM] splice: make use of pipe pools
by Willy Tarreau
· Sun Jan 25 13:56:13 2009 +0100
98b306b
[MEDIUM] splice: add hints to support older buggy kernels
by Willy Tarreau
· Sun Jan 25 11:11:32 2009 +0100
5bd8c37
[MAJOR] complete support for linux 2.6 kernel splicing
by Willy Tarreau
· Mon Jan 19 00:32:22 2009 +0100
6b4aad4
[MEDIUM] add definitions for Linux kernel splicing
by Willy Tarreau
· Sun Jan 18 21:59:13 2009 +0100
a456f2a
[MEDIUM] stream_sock: try to send pending data on chk_snd()
by Willy Tarreau
· Sun Jan 18 17:38:44 2009 +0100
d2def0f
[MINOR] stream_sock: fix a few wrong empty calculations
by Willy Tarreau
· Sun Jan 18 17:37:33 2009 +0100
9c0fe59
[MEDIUM] stream_sock_read: call ->chk_snd whenever there are data pending
by Willy Tarreau
· Sun Jan 18 16:25:31 2009 +0100
0c2fc1f
[MEDIUM] split stream_sock_write() into callback and core functions
by Willy Tarreau
· Sun Jan 18 15:30:37 2009 +0100
ac128fe
[CLEANUP] stream_sock: move the write-nothing condition out of the loop
by Willy Tarreau
· Fri Jan 09 13:05:19 2009 +0100
efc612c
[CLEANUP] replace a few occurrences of (flags & X) && !(flags & Y)
by Willy Tarreau
· Fri Jan 09 12:18:24 2009 +0100
68eac13
[OPTIM] stream_sock: factor out the buffer full handling out of the loop
by Willy Tarreau
· Fri Jan 09 11:38:52 2009 +0100
03d60bb
[OPTIM] buffer: replace rlim by max_len
by Willy Tarreau
· Fri Jan 09 11:13:00 2009 +0100
af78d0f
[OPTIM] stream_sock: do not ask for polling on EAGAIN if we have read
by Willy Tarreau
· Thu Jan 08 10:09:08 2009 +0100
0abebcc
[MEDIUM] i/o: rework ->to_forward and ->send_max
by Willy Tarreau
· Thu Jan 08 00:09:41 2009 +0100
4d9b1de
[MEDIUM] stream_sock: factor out the return path in case of no-writes
by Willy Tarreau
· Wed Jan 07 20:10:39 2009 +0100
dcef33f
[MINOR] add the splice_len member to the buffer struct in preparation of splice support
by Willy Tarreau
· Wed Jan 07 19:33:39 2009 +0100
6b66f3e
[MAJOR] implement autonomous inter-socket forwarding
by Willy Tarreau
· Sun Dec 14 17:31:54 2008 +0100
3ffeba1
[MEDIUM] enable inter-stream_interface wakeup calls
by Willy Tarreau
· Sun Dec 14 14:42:35 2008 +0100
b0ef735
[MINOR] add flags to indicate when a stream interface is waiting for space/data
by Willy Tarreau
· Sun Dec 14 13:26:20 2008 +0100
86491c3
[MEDIUM] indicate when we don't care about read timeout
by Willy Tarreau
· Sun Dec 14 09:04:47 2008 +0100
f890dc9
[MEDIUM] add a send limit to a buffer
by Willy Tarreau
· Sat Dec 13 21:12:26 2008 +0100
7f00651
[MEDIUM] ensure that sock->shutw() also closes read for init states
by Willy Tarreau
· Sun Dec 07 14:04:04 2008 +0100
b025325
[MINOR] stream_sock_data_finish() should not expose fd
by Willy Tarreau
· Sun Nov 30 21:37:12 2008 +0100
fe3718a
[MAJOR] complete layer4/7 separation
by Willy Tarreau
· Sun Nov 30 18:14:12 2008 +0100
99126c3
[MEDIUM] make the stream interface control the SHUT{R,W} bits
by Willy Tarreau
· Thu Nov 27 10:30:51 2008 +0100
8bfa426
[MEDIUM] process shutw during connection attempt
by Willy Tarreau
· Thu Nov 27 09:25:45 2008 +0100
b38903c
[BUG] shutw must imply close during a connect
by Willy Tarreau
· Sun Nov 23 21:33:29 2008 +0100
0a5d5dd
[MEDIUM] remove stream_sock_update_data()
by Willy Tarreau
· Sun Nov 23 19:31:35 2008 +0100
74ab2ac
[MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO
by Willy Tarreau
· Sun Nov 23 17:23:07 2008 +0100
cff6411
[MAJOR] add a connection error state to the stream_interface
by Willy Tarreau
· Mon Nov 03 06:26:53 2008 +0100
d7704b5
[MINOR] add an expiration flag to the stream_sock_interface
by Willy Tarreau
· Thu Sep 04 11:51:16 2008 +0200
3c6ab2e
[MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts()
by Willy Tarreau
· Thu Sep 04 11:19:41 2008 +0200
48adac5
[MEDIUM] stream interface: add the ->shutw method as well as in and out buffers
by Willy Tarreau
· Sat Aug 30 04:58:38 2008 +0200
e5ed406
[MAJOR] make stream sockets aware of the stream interface
by Willy Tarreau
· Sat Aug 30 03:17:31 2008 +0200
fdccded
[MEDIUM] indicate a reason for a task wakeup
by Willy Tarreau
· Fri Aug 29 18:19:04 2008 +0200
21e1be8
[MINOR] do not check for BF_SHUTR when computing write timeout
by Willy Tarreau
· Fri Aug 29 11:30:14 2008 +0200
3da77c5
[MINOR] re-arrange buffer flags and rename some of them
by Willy Tarreau
· Fri Aug 29 09:58:42 2008 +0200
2bea3a1
[OPTIM] stream_sock_read must check for null-reads more often
by Willy Tarreau
· Thu Aug 28 09:47:43 2008 +0200
3a16b2c
[MEDIUM] split stream_sock_process_data
by Willy Tarreau
· Thu Aug 28 08:54:27 2008 +0200
2d21279
[MEDIUM] stream_sock_process_data moved to stream_sock.c
by Willy Tarreau
· Wed Aug 27 21:41:35 2008 +0200
fa7e102
[MAJOR] rework of the server FSM
by Willy Tarreau
· Sun Oct 19 07:30:41 2008 +0200
e393fe2
[MEDIUM] buffers: add BF_EMPTY and BF_FULL to remove dependency on req/rep->l
by Willy Tarreau
· Sat Aug 16 22:18:07 2008 +0200
ba392ce
[CLEANUP] get rid of BF_SHUT*_PENDING
by Willy Tarreau
· Sat Aug 16 21:13:23 2008 +0200
adfb856
[MAJOR] get rid of SV_STANALYZE (step 2)
by Willy Tarreau
· Mon Aug 11 15:24:42 2008 +0200
9f1f24b
[BUG] client timeout incorrectly rearmed while waiting for server
by Willy Tarreau
· Mon Aug 11 11:20:03 2008 +0200
ec6c5df
[CLEANUP] remove many #include <types/xxx> from C files
by Willy Tarreau
· Tue Jul 15 00:22:45 2008 +0200
0c303ee
[MAJOR] convert all expiration timers from timeval to ticks
by Willy Tarreau
· Mon Jul 07 00:09:58 2008 +0200
8a7af60
[MEDIUM] detect streaming buffers and tag them as such
by Willy Tarreau
· Sat May 03 23:07:14 2008 +0200
d6f087e
[BUG] fix truncated responses with sepoll
by Willy Tarreau
· Fri Jan 18 17:20:13 2008 +0100
e94ebd0
[MEDIUM] moved the sockaddr pointer to the fdtab structure
by Willy Tarreau
· Tue Oct 09 17:14:37 2007 +0200
ab3e1d3
[MEDIUM] optimize I/O by detecting system starvation
by Willy Tarreau
· Sun Jun 03 14:10:36 2007 +0200
fa64558
[BUG] do not re-arm read timeout after writing data
by Willy Tarreau
· Sun Jun 03 15:59:52 2007 +0200
a8b55e3
[MINOR] use non-inline tv_* functions in many locations
by Willy Tarreau
· Sun May 13 16:08:19 2007 +0200
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· Sat May 12 22:35:00 2007 +0200
6996e15
[BUG] fixed connection establishment detection
by Willy Tarreau
· Mon Apr 30 14:37:43 2007 +0200
42aae5c
[MEDIUM] many cleanups in the time functions
by Willy Tarreau
· Sun Apr 29 17:43:56 2007 +0200
96bcfd7
[MAJOR] replaced rbtree with ul2tree.
by Willy Tarreau
· Sun Apr 29 10:41:56 2007 +0200
9f19529
[MAJOR] remove useless calls to shutdown(SHUT_RD)
by Willy Tarreau
· Sun Apr 15 21:26:58 2007 +0200
8374918
[MAJOR] implemented support for speculative I/O processing
by Willy Tarreau
· Sun Apr 15 20:56:27 2007 +0200
f161a34
[MEDIUM] updated all files to use EV_FD_*
by Willy Tarreau
· Sun Apr 08 16:59:42 2007 +0200
9641e8f
[MINOR] read optimizations based on the MSS
by Willy Tarreau
· Fri Mar 23 23:02:09 2007 +0100
Next »