Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
d1f56c9a0110805c4a5f3afba2990556cb74ec8b
/
src
/
mux_h1.c
e573323
CLEANUP: build: rename some build macros to use the USE_* ones
by Willy Tarreau
· Wed May 22 19:24:06 2019 +0200
0a7a4fb
CLEANUP: mux-h1: use "H1" and not "h1" as the mux's name
by Willy Tarreau
· Wed May 22 11:36:54 2019 +0200
00b8f7c
MINOR: h1: Use BUG_ON() to enforce rules in subscribe/unsubscribe.
by Olivier Houchard
· Tue May 14 18:02:23 2019 +0200
8bdb5c9
CLEANUP: connection: remove the handle field from the wait_event struct
by Willy Tarreau
· Mon May 13 18:27:59 2019 +0200
6f3cb18
MINOR: htx: Remove support for unused OOB HTX blocks
by Christopher Faulet
· Tue May 07 21:48:12 2019 +0200
39593e6
BUG/MINOR: mux-h1: Fix the parsing of trailers
by Christopher Faulet
· Tue May 07 10:53:32 2019 +0200
f656279
CLEANUP: task: remove unneeded tests before task_destroy()
by Willy Tarreau
· Tue May 07 19:05:35 2019 +0200
e179d0e
MEDIUM: connections: Provide a xprt_ctx for each xprt method.
by Olivier Houchard
· Thu Mar 21 18:27:17 2019 +0100
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· Wed Apr 17 22:51:06 2019 +0200
038ad81
MINOR: mux-h1: Handle read0 during TCP splicing
by Christopher Faulet
· Wed Apr 17 11:03:22 2019 +0200
e18777b
BUG/MEDIUM: mux-h1: Enable TCP splicing to exchange data only
by Christopher Faulet
· Tue Apr 16 16:46:36 2019 +0200
f7d5ff3
BUG/MEDIUM: mux-h1: Notify the stream waiting for TCP splicing if ibuf is empty
by Christopher Faulet
· Tue Apr 16 13:55:08 2019 +0200
2f320ee
BUG/MINOR: mux-h1: Don't switch the parser in busy mode if other side has done
by Christopher Faulet
· Tue Apr 16 20:26:53 2019 +0200
91f77d5
BUG/MINOR: mux-h1: Process input even if the input buffer is empty
by Christopher Faulet
· Tue Apr 16 20:23:55 2019 +0200
0e07937
BUG/MEDIUM: muxes: Make sure we unsubcribed when destroying mux ctx.
by Olivier Houchard
· Mon Apr 15 17:51:16 2019 +0200
61840e7
BUG/MEDIUM: muxes: Don't dereference mux context if null in release functions
by Christopher Faulet
· Mon Apr 15 09:33:32 2019 +0200
0ef372a
MAJOR: muxes/htx: Handle inplicit upgrades from h1 to h2
by Christopher Faulet
· Mon Apr 08 10:57:20 2019 +0200
39a96ee
MEDIUM: muxes: Be prepared to don't own connection during the release
by Christopher Faulet
· Mon Apr 08 10:52:21 2019 +0200
73c1207
MINOR: muxes: Pass the context of the mux to destroy() instead of the connection
by Christopher Faulet
· Mon Apr 08 11:23:22 2019 +0200
51f73eb
MEDIUM: muxes: Add an optional input buffer during mux initialization
by Christopher Faulet
· Mon Apr 08 11:22:47 2019 +0200
e9b7072
MINOR: muxes: Rely on conn_is_back() during init to handle front/back conn
by Christopher Faulet
· Mon Apr 08 10:46:02 2019 +0200
9f38f5a
MINOR: muxes: Add a flag to specify a multiplexer uses the HTX
by Christopher Faulet
· Wed Apr 03 09:53:32 2019 +0200
7f36636
BUG/MINOR: mux-h1: Handle the flag CS_FL_KILL_CONN during a shutdown read/write
by Christopher Faulet
· Mon Apr 08 10:51:20 2019 +0200
14c91cf
MINOR: mux-h1: Don't release the conn_stream anymore when h1s is destroyed
by Christopher Faulet
· Mon Apr 08 10:43:46 2019 +0200
b992af0
MEDIUM: mux-h1: Simplify the connection mode management by sanitizing headers
by Christopher Faulet
· Thu Mar 28 15:42:24 2019 +0100
cdc90e9
MINOR: mux-h1: Simplify handling of 1xx responses
by Christopher Faulet
· Thu Mar 28 13:28:46 2019 +0100
c62c2b9
BUG/MEDIUM: htx: Fix the process of HTTP CONNECT with h2 connections
by Christopher Faulet
· Thu Mar 28 11:41:39 2019 +0100
6c9bbb2
MEDIUM: htx: Deprecate the option 'http-tunnel' and ignore it in HTX
by Christopher Faulet
· Tue Mar 26 21:37:23 2019 +0100
5220ef2
BUG/MINOR: mux-h1: Only skip invalid C-L headers on output
by Christopher Faulet
· Wed Mar 27 15:44:56 2019 +0100
87a8f35
CLEANUP: muxes/stream-int: Remove flags CS_FL_READ_NULL and SI_FL_READ_NULL
by Christopher Faulet
· Fri Mar 22 14:51:36 2019 +0100
dbe2cb4
MINOR: mux-h1: Set CS_FL_EOI the end of the message is reached
by Christopher Faulet
· Fri Mar 22 14:09:41 2019 +0100
203b2b0
MINOR: muxes: Report the Last read with a dedicated flag
by Christopher Faulet
· Fri Mar 08 09:23:46 2019 +0100
2692238
BUG/MINOR: mux-h1: Don't report an error on EOS if no message was received
by Christopher Faulet
· Fri Mar 08 15:13:41 2019 +0100
7402776
BUG/MINOR: mux-h1: Always initilize h1m variable in h1_process_input()
by Christopher Faulet
· Tue Feb 26 14:45:05 2019 +0100
b8d2ee0
BUG/MEDIUM: mux-h1: Report the right amount of data xferred in h1_rcv_buf()
by Christopher Faulet
· Mon Feb 25 15:29:51 2019 +0100
1f890dd
BUG/MINOR: mux-h1: Add "transfer-encoding" header on outgoing requests if needed
by Christopher Faulet
· Mon Feb 18 10:33:16 2019 +0100
7701cad
BUG/MINOR: mux-h1: verify the request's version before dropping connection: keep-alive
by Willy Tarreau
· Fri Feb 08 15:35:38 2019 +0100
9c9da5e
MINOR: muxes: Don't bother to LIST_DEL(&conn->list) before calling conn_free().
by Olivier Houchard
· Fri Jan 18 17:25:29 2019 +0100
00f18a3
BUG/MINOR: server: fix logic flaw in idle connection list management
by Willy Tarreau
· Sat Jan 26 12:19:01 2019 +0100
3949c9d
BUG/MEDIUM: mux-h1: Don't add "transfer-encoding" if message-body is forbidden
by Christopher Faulet
· Wed Jan 30 21:55:21 2019 +0100
b57af61
BUG/MINOR: mux-h1: avoid copying output over itself in zero-copy
by Willy Tarreau
· Wed Jan 23 20:43:53 2019 +0100
afe5784
BUG/MINOR: mux-h1: Apply the reserve on the channel's buffer only
by Christopher Faulet
· Mon Jan 21 11:55:02 2019 +0100
32d75ed
BUG/MEDIUM: h1: Make sure we destroy an inactive connectin that did shutw.
by Olivier Houchard
· Mon Jan 14 17:27:23 2019 +0100
f77a158
MINOR: mux-h1: make the mux_h1_ops struct static
by Willy Tarreau
· Thu Jan 10 10:00:08 2019 +0100
666a0c4
MEDIUM: mux-h1: Clarify how shutr/shutw are handled
by Christopher Faulet
· Tue Jan 08 11:12:04 2019 +0100
f3eb2b1
BUG/MINOR: mux-h1: Close connection on shutr only when shutw was really done
by Christopher Faulet
· Tue Jan 08 10:43:36 2019 +0100
9b960a8
BUG/MEDIUM: h1: In h1_init(), wake the tasklet instead of calling h1_recv().
by Olivier Houchard
· Fri Jan 04 16:51:40 2019 +0100
f376a31
MINOR: mux-h1: Add the subscription events in "show fd" command
by Christopher Faulet
· Fri Jan 04 15:16:06 2019 +0100
6195237
BUG/MEDIUM: mux-h1: don't enforce chunked encoding on requests
by Willy Tarreau
· Thu Jan 03 21:27:19 2019 +0100
27cd223
MINOR: mux-h1: parse the content-length header on output and set H1_MF_CLEN
by Willy Tarreau
· Thu Jan 03 21:52:42 2019 +0100
b8093cf
BUG/MEDIUM: mux-h1: Add a task to handle connection timeouts
by Christopher Faulet
· Thu Jan 03 16:27:28 2019 +0100
4710d20
BUG/MEDIUM: mux-h1: make HTX chunking consistent with H2
by Willy Tarreau
· Thu Jan 03 17:39:54 2019 +0100
34d2348
BUG/MEDIUM: mux-h1: use per-direction flags to indicate transitions
by Willy Tarreau
· Thu Jan 03 17:46:56 2019 +0100
351411f
BUG/MAJOR: sessions: Use an unlimited number of servers for the conn list.
by Olivier Houchard
· Thu Dec 27 17:20:54 2018 +0100
a8f6b43
MEDIUM: mux_h1: Implement h1_show_fd.
by Olivier Houchard
· Fri Dec 21 15:20:29 2018 +0100
d2e88c7
BUG/MEDIUM: h1: Don't shutw/shutr the connection if we have keepalive.
by Olivier Houchard
· Wed Dec 19 15:55:23 2018 +0100
3d2ee55
CLEANUP: connection: rename conn->mux_ctx to conn->ctx
by Willy Tarreau
· Wed Dec 19 14:12:10 2018 +0100
4f6516d
CLEANUP: connection: rename subscription events values and event field
by Willy Tarreau
· Wed Dec 19 13:59:17 2018 +0100
598d7fc
BUG/MINOR: mux-h1: report the correct frontend in error captures
by Willy Tarreau
· Tue Dec 18 18:10:38 2018 +0100
3a6190f
BUG/MEDIUM: mux-h1: don't try to process an empty input buffer
by Willy Tarreau
· Sun Dec 16 08:29:56 2018 +0100
a4d4fdf
MEDIUM: sessions: Don't keep an infinite number of idling connections.
by Olivier Houchard
· Fri Dec 14 19:27:06 2018 +0100
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· Fri Dec 14 19:42:40 2018 +0100
8a78690
MEDIUM: mux: Destroy the stream before trying to add the conn to the idle list.
by Olivier Houchard
· Sat Dec 15 16:05:40 2018 +0100
37dd54d
BUG/MEDIUM: mux-h1: make sure we always have at least one HTX block to send
by Willy Tarreau
· Sat Dec 15 14:48:31 2018 +0100
84cca66
BUG/MEDIUM: htx: When performing zero-copy, start from the right offset.
by Olivier Houchard
· Fri Dec 14 16:28:08 2018 +0100
c0960d1
MINOR: mux_h1/h2: simplify the zero-copy Rx alignment
by Willy Tarreau
· Fri Dec 14 10:59:15 2018 +0100
e0f24ee
MINOR: connection: realign empty buffers in muxes, not transport layers
by Willy Tarreau
· Fri Dec 14 10:51:23 2018 +0100
44d5914
MEDIUM: htx: Try to take a connection over if it has no owner.
by Olivier Houchard
· Thu Dec 13 18:46:22 2018 +0100
a0883e6
BUG/MEDIUM: mux-h1: Wake the stream for send once the connection is established
by Christopher Faulet
· Tue Dec 11 16:26:50 2018 +0100
e17fa2f
MINOR: mux-h1: Add helper functions to wake a stream from recv or send
by Christopher Faulet
· Tue Dec 11 16:25:36 2018 +0100
cf56b99
BUG/MEDIUM: mux-h1: Fix loop if server closes its connection with unparsed data
by Christopher Faulet
· Tue Dec 11 16:12:31 2018 +0100
9a86fcb
MEDIUM: mux: Add an optional "reset" method.
by Olivier Houchard
· Tue Dec 11 16:47:14 2018 +0100
adb2220
BUG/MEDIUM: mux-h1: Fix the zero-copy on output for chunked messages
by Christopher Faulet
· Wed Dec 12 10:32:09 2018 +0100
3815b22
MEDIUM: mux-h1: implement true zero-copy of DATA blocks
by Willy Tarreau
· Tue Dec 11 19:50:43 2018 +0100
afba57a
REORG: h1: merge types+proto into common/h1.h
by Willy Tarreau
· Tue Dec 11 13:44:24 2018 +0100
b96b77e
REORG: htx: merge types+proto into common/htx.h
by Willy Tarreau
· Tue Dec 11 10:22:41 2018 +0100
f6ce9d6
BUG/MEDIUM: mux-h1: Don't loop on the headers parsing if the read0 was received
by Christopher Faulet
· Mon Dec 10 15:30:06 2018 +0100
cb55f48
BUG/MEDIUM: mux-h1: Add a BUSY mode to not loop on pipelinned requests
by Christopher Faulet
· Mon Dec 10 11:56:47 2018 +0100
de68b13
BUG/MINOR: mux-h1: Fix conn_mode processing for headerless outgoing messages
by Christopher Faulet
· Mon Dec 10 11:21:47 2018 +0100
ce85149
BUG/MINOR: mux-h1: Remove the connection header when it is useless
by Christopher Faulet
· Fri Dec 07 18:06:59 2018 +0100
5f50f5e
MINOR: mux-h1: Set CS_FL_EOS when read0 is detected and no data are pending
by Christopher Faulet
· Fri Dec 07 11:39:55 2018 +0100
e6b3994
BUG/MEDIUM: mux-h1: Be sure to have a conn_stream to set CS_FL_REOS in h1_recv
by Christopher Faulet
· Fri Dec 07 09:42:49 2018 +0100
6a2d334
BUG/MEDIUM: h1: Set CS_FL_REOS if we had a read0.
by Olivier Houchard
· Thu Dec 06 17:41:26 2018 +0100
e728478
BUG/MEDIUM: h1: Don't free the connection if it's an outgoing connection.
by Olivier Houchard
· Thu Dec 06 18:54:54 2018 +0100
d247be0
BUG/MEDIUM: connections: Split CS_FL_RCV_MORE into 2 flags.
by Olivier Houchard
· Thu Dec 06 16:22:29 2018 +0100
145aa47
MINOR: mux-h1: Drain obuf if the output is closed after sending data
by Christopher Faulet
· Thu Dec 06 10:56:20 2018 +0100
b2e8416
MINOR: mux-h1: Allow partial data consumption during outgoing data processing
by Christopher Faulet
· Thu Dec 06 11:39:49 2018 +0100
aa75b3d
CLEANUP: htx: Fix indentation here and there in HTX files
by Christopher Faulet
· Wed Dec 05 16:20:40 2018 +0100
56df0a8
MINOR: mux-h1: Don't adjust anymore the amount of data sent in h1_snd_buf()
by Christopher Faulet
· Wed Dec 05 15:53:38 2018 +0100
27ba2dc
MEDIUM: htx: Rework conversion from a buffer to an htx structure
by Christopher Faulet
· Wed Dec 05 11:53:24 2018 +0100
7003378
BUG/MINOR: mux-h1: Check h1m flags to set the server conn_mode on request path
by Christopher Faulet
· Wed Dec 05 13:50:11 2018 +0100
c5efa33
MEDIUM: mux-h1: avoid a double copy on the Tx path whenever possible
by Willy Tarreau
· Wed Dec 05 11:19:27 2018 +0100
78f548f
MEDIUM: mux-h1: attempt to zero-copy Rx DATA transfers
by Willy Tarreau
· Wed Dec 05 10:02:39 2018 +0100
45f2b89
MEDIUM: mux-h1: make use of buf_room_for_htx_data() instead of b_room()
by Willy Tarreau
· Wed Dec 05 07:59:27 2018 +0100
29a22bc
MEDIUM: h1: Realign the ibuf before calling rcv_buf if needed.
by Olivier Houchard
· Tue Dec 04 18:16:45 2018 +0100
cf42d5a
BUG/MEDIUM: h1: Correctly report used data with no len.
by Olivier Houchard
· Tue Dec 04 17:41:58 2018 +0100
1a7ad7a
BUG/MEDIUM: mux-h1: Release the mux H1 in h1_process() if there is no h1s
by Christopher Faulet
· Tue Dec 04 16:10:44 2018 +0100
c386a88
MINOR: mux-h1: Make sure to return 1 in h1_recv() when needed
by Christopher Faulet
· Tue Dec 04 16:06:28 2018 +0100
37e3607
BUG/MEDIUM: mux-h1: Always set CS_FL_RCV_MORE when data are received in h1_recv()
by Christopher Faulet
· Tue Dec 04 15:54:12 2018 +0100
75159a9
MEDIUM: mux-h1: Revamp the way subscriptions are handled.
by Olivier Houchard
· Mon Dec 03 18:46:09 2018 +0100
Next »