Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
eabea0763ba6689338cfb1474c3228144fad3612
/
src
/
stream_sock.c
3c63fd8
[MEDIUM] don't limit peers nor stats socket to maxconn nor maxconnrate
by Willy Tarreau
· Wed Sep 07 18:00:47 2011 +0200
81c25d0
[MEDIUM] add support for global.maxconnrate to limit the per-process conn rate.
by Willy Tarreau
· Wed Sep 07 15:17:21 2011 +0200
43d8fb2
[REORG] build: move syscall redefinition to specific places
by Willy Tarreau
· Mon Aug 22 17:12:02 2011 +0200
e9b2602
[MEDIUM] listeners: add a global listener management task
by Willy Tarreau
· Mon Aug 01 20:57:55 2011 +0200
918ff60
[MAJOR] proxy: finally get rid of maintain_proxies()
by Willy Tarreau
· Mon Jul 25 16:33:49 2011 +0200
07687c1
[MEDIUM] listeners: queue proxy-bound listeners at the proxy's
by Willy Tarreau
· Sun Jul 24 23:55:06 2011 +0200
08ceb10
[MEDIUM] listeners: put listeners in queue upon resource shortage
by Willy Tarreau
· Sun Jul 24 22:58:00 2011 +0200
6279371
[MINOR] listeners: add listen_full() to mark a listener full
by Willy Tarreau
· Sun Jul 24 19:23:38 2011 +0200
ff45b8c
[BUG] stream_sock: ensure orphan listeners don't accept too many connections
by Willy Tarreau
· Sun Jul 24 19:16:52 2011 +0200
1002987
[BUG] stream_sock: disable listener when system resources are exhausted
by Willy Tarreau
· Fri Jul 22 16:56:33 2011 +0200
14acc70
[OPTIM] stream_sock: don't use splice on too small payloads
by Willy Tarreau
· Wed May 11 20:47:24 2011 +0200
22be90b
[OPTIM] stream_sock: avoid fast-forwarding of partial data
by Willy Tarreau
· Wed May 11 20:32:36 2011 +0200
96e3121
[MEDIUM] http: add support for "http-no-delay"
by Willy Tarreau
· Mon May 30 18:10:30 2011 +0200
f8ca19b
[CLEANUP] stream_sock: remove unneeded FL_TCP and factor out test
by Willy Tarreau
· Mon May 30 17:32:53 2011 +0200
8f8b492
[MINOR] stream_sock: always clear BF_EXPECT_MORE upon complete transfer
by Willy Tarreau
· Wed May 11 20:14:03 2011 +0200
68f49da
[BUG] stream_sock: fix handling for server side PROXY protocol
by Willy Tarreau
· Mon Mar 28 23:17:54 2011 +0200
b22e55b
[MEDIUM] stream_sock: add support for sending the proxy protocol header line
by Willy Tarreau
· Sun Mar 20 10:16:46 2011 +0100
7c0a151
[CLEANUP] stream_interface: remove the applet.handler pointer
by Willy Tarreau
· Thu Mar 10 11:17:02 2011 +0100
b24281b
[MINOR] stream_interface: make use of an applet descriptor for IO handlers
by Willy Tarreau
· Sun Feb 13 13:16:36 2011 +0100
32d3ee9
[CRITICAL] session: correctly leave turn-around and queue states on abort
by Willy Tarreau
· Wed Dec 29 14:03:02 2010 +0100
48d84c1
[OPTIM] linux: add support for bypassing libc to force using vsyscalls
by Willy Tarreau
· Sun Nov 14 17:09:33 2010 +0100
11f4940
[OPTIM] stream_sock: don't clear FDs that are already cleared
by Willy Tarreau
· Thu Nov 11 23:08:17 2010 +0100
abe8ea5
[BUG] accept: don't close twice upon error
by Willy Tarreau
· Thu Nov 11 10:56:04 2010 +0100
fffe132
[CLEANUP] accept: replace some inappropriate Alert() calls with send_log()
by Willy Tarreau
· Thu Nov 11 09:48:16 2010 +0100
fe598a7
[BUILD] stream_sock: previous fix lacked the #include, causing a warning.
by Willy Tarreau
· Tue Sep 21 21:48:23 2010 +0200
e9f32db
[BUG] stream_sock: cleanly disable the listener in case of resource shortage
by Willy Tarreau
· Tue Sep 21 21:14:29 2010 +0200
af7ad00
[MINOR] support a global jobs counter
by Willy Tarreau
· Tue Aug 31 15:39:26 2010 +0200
5af1fa1
[MAJOR] stream_sock: better wakeup conditions on read()
by Willy Tarreau
· Mon Jul 19 18:16:03 2010 +0200
0bd05ea
[MEDIUM] stream-interface: add a ->release callback
by Willy Tarreau
· Fri Jul 02 11:18:03 2010 +0200
24dcaf3
[MEDIUM] frontend: count the incoming connection earlier
by Willy Tarreau
· Sat Jun 05 10:49:41 2010 +0200
7999ddb
[MINOR] stream_sock: don't dereference a non-existing frontend
by Willy Tarreau
· Fri Jun 04 20:46:13 2010 +0200
a8f55d5
[MEDIUM] backend: initialize the server stream_interface upon connect()
by Willy Tarreau
· Mon May 31 17:44:19 2010 +0200
eb47268
[MEDIUM] separate protocol-level accept() from the frontend's
by Willy Tarreau
· Fri May 28 18:46:57 2010 +0200
03fa5df
[CLEANUP] rename client -> frontend
by Willy Tarreau
· Mon May 24 21:02:37 2010 +0200
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
Next »