Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1e82a14c346a5c5ffc41d83bf486c73d70fe4fdb
/
src
/
mux_h1.c
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
7ccff1a
BUG/MEDIUM: h1: Destroy a connection after detach if it has no owner.
by Olivier Houchard
· Mon Dec 03 16:33:19 2018 +0100
c59ff23
MINOR: htx: Rename functions htx_*_to_str() to be H1 specific
by Christopher Faulet
· Mon Dec 03 13:58:44 2018 +0100
30bc509
CLEANUP: Fix typos in the h1 subsystem
by Joseph Herlant
· Sun Nov 25 10:52:20 2018 -0800
8defe4b
MINOR: mux: add a "max_streams" method.
by Olivier Houchard
· Sun Dec 02 01:31:17 2018 +0100
e44769b
MINOR: mux-h1: Capture bad H1 messages
by Christopher Faulet
· Thu Nov 29 23:01:45 2018 +0100
bd44ca6
MINOR: mux-h1: Change client conn_mode on an explicit close for the response
by Christopher Faulet
· Thu Nov 29 09:55:22 2018 +0100
d1ebb1e
MINOR: mux-h1: Process conn_mode on the EOH when no connection header is found
by Christopher Faulet
· Wed Nov 28 16:32:50 2018 +0100
b2db4fa
MINOR: htx: Add BODYLESS flags on the HTX start-line and the HTTP message
by Christopher Faulet
· Tue Nov 27 16:51:09 2018 +0100
0359911
MINOR: proto-htx: Use the start-line flags to set the HTTP messsage ones
by Christopher Faulet
· Tue Nov 27 11:21:21 2018 +0100
f1ba18d
MEDIUM: htx: Don't rely on h1_sl anymore except during H1 header parsing
by Christopher Faulet
· Mon Nov 26 21:37:08 2018 +0100
570d161
MEDIUM: htx: Change htx_sl to be a struct instead of an union
by Christopher Faulet
· Mon Nov 26 11:13:57 2018 +0100
9400a39
MEDIUM: mux-h1: Add keep-alive outgoing connections in connections list
by Christopher Faulet
· Fri Nov 23 23:10:39 2018 +0100
5d37dac
MINOR: mux-h1: Consume channel's data in a loop in h1_snd_buf()
by Christopher Faulet
· Thu Nov 22 10:58:42 2018 +0100
f96c322
MINOR: mux-h1: Subscribe to send in h1_snd_buf() when not all data have been sent
by Christopher Faulet
· Tue Nov 20 18:38:01 2018 +0100
1727648
MINOR: mux-h1: Be prepare to fail when EOM is added during trailers parsing
by Christopher Faulet
· Thu Nov 22 11:44:35 2018 +0100
3218821
MINOR: mux-h1: Write last chunk and trailers if not found in the HTX message
by Christopher Faulet
· Tue Nov 20 18:21:43 2018 +0100
a1692f5
MINOR: mux-h1: Don't rely on the stream anymore in h1_set_srv_conn_mode()
by Christopher Faulet
· Thu Nov 22 10:19:50 2018 +0100
feb1174
MINOR: mux-h1: Implement get_cs_info() callback
by Christopher Faulet
· Thu Nov 29 15:12:34 2018 +0100
66229af
BUG/MEDIUM: mux-h1: Reset the H1 parser when an outgoing message is processed
by Christopher Faulet
· Wed Nov 28 16:06:57 2018 +0100
5999b86
BUG/MINOR: mux-h1: Fix processing of "Connection: " header on outgoing messages
by Christopher Faulet
· Tue Nov 27 10:46:09 2018 +0100
2455ceb
MEDIUM: memory: use pool_destroy_all() to destroy all pools on deinit()
by Willy Tarreau
· Mon Nov 26 15:57:34 2018 +0100
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· Mon Nov 26 11:58:30 2018 +0100
172f5ce
MINOR: initcall: use initcalls for most post_{check,deinit} and per_thread*
by Willy Tarreau
· Mon Nov 26 11:21:50 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
7e346f3
BUG/MINOR: mux-htx: Fix bad test on h1c flags in h1_recv_allowed()
by Christopher Faulet
· Tue Nov 20 17:13:52 2018 +0100
9c38840
BUG/MEDIUM: mux-h1: Don't set the flag CS_FL_RCV_MORE when nothing was parsed
by Christopher Faulet
· Mon Nov 19 21:54:26 2018 +0100
d44ad5b
BUG/MEDIUM: mux-h1: Fix freeze when the kernel splicing is used
by Christopher Faulet
· Mon Nov 19 21:52:12 2018 +0100
81d4843
BUG/MINOR: mux-h1: Enable keep-alive on server side
by Christopher Faulet
· Mon Nov 19 21:22:43 2018 +0100
539e029
MAJOR: mux-h1: Remove the rxbuf and decode HTTP messages in channel's buffer
by Christopher Faulet
· Mon Nov 19 10:40:09 2018 +0100
4736527
MEDIUM: mux-h1: Handle errors and timeouts in the stream
by Christopher Faulet
· Wed Oct 31 17:40:50 2018 +0100
3b88b8d
MEDIUM: mux-h1: Wait for connection establishment before consuming channel's data
by Christopher Faulet
· Fri Oct 26 17:36:03 2018 +0200
9768c26
MAJOR: mux-h1/proto_htx: Switch mux-h1 and HTX analyzers on the HTX representation
by Christopher Faulet
· Mon Oct 22 09:34:31 2018 +0200
1be55f9
MEDIUM: mux-h1: Add support of the kernel TCP splicing to forward data
by Christopher Faulet
· Tue Oct 02 15:59:23 2018 +0200
f2824e6
MAJOR: mux-h1/proto_htx: Handle keep-alive connections in the mux
by Christopher Faulet
· Mon Oct 01 12:12:37 2018 +0200
129817b
MEDIUM: mux-h1: Add parsing of incoming and ougoing HTTP messages
by Christopher Faulet
· Thu Sep 20 16:14:40 2018 +0200
51dbc94
MEDIUM: mux-h1: Add dummy mux to handle HTTP/1.1 connections
by Christopher Faulet
· Thu Sep 13 09:05:15 2018 +0200