Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
f5fb858bb744a79fcdbe8d640378c51c2d73b3c7
/
src
/
mux_h1.c
« Previous
7701cad
BUG/MINOR: mux-h1: verify the request's version before dropping connection: keep-alive
by Willy Tarreau
· 6 years ago
9c9da5e
MINOR: muxes: Don't bother to LIST_DEL(&conn->list) before calling conn_free().
by Olivier Houchard
· 6 years ago
00f18a3
BUG/MINOR: server: fix logic flaw in idle connection list management
by Willy Tarreau
· 6 years ago
3949c9d
BUG/MEDIUM: mux-h1: Don't add "transfer-encoding" if message-body is forbidden
by Christopher Faulet
· 6 years ago
b57af61
BUG/MINOR: mux-h1: avoid copying output over itself in zero-copy
by Willy Tarreau
· 6 years ago
afe5784
BUG/MINOR: mux-h1: Apply the reserve on the channel's buffer only
by Christopher Faulet
· 6 years ago
32d75ed
BUG/MEDIUM: h1: Make sure we destroy an inactive connectin that did shutw.
by Olivier Houchard
· 6 years ago
f77a158
MINOR: mux-h1: make the mux_h1_ops struct static
by Willy Tarreau
· 6 years ago
666a0c4
MEDIUM: mux-h1: Clarify how shutr/shutw are handled
by Christopher Faulet
· 6 years ago
f3eb2b1
BUG/MINOR: mux-h1: Close connection on shutr only when shutw was really done
by Christopher Faulet
· 6 years ago
9b960a8
BUG/MEDIUM: h1: In h1_init(), wake the tasklet instead of calling h1_recv().
by Olivier Houchard
· 6 years ago
f376a31
MINOR: mux-h1: Add the subscription events in "show fd" command
by Christopher Faulet
· 6 years ago
6195237
BUG/MEDIUM: mux-h1: don't enforce chunked encoding on requests
by Willy Tarreau
· 6 years ago
27cd223
MINOR: mux-h1: parse the content-length header on output and set H1_MF_CLEN
by Willy Tarreau
· 6 years ago
b8093cf
BUG/MEDIUM: mux-h1: Add a task to handle connection timeouts
by Christopher Faulet
· 6 years ago
4710d20
BUG/MEDIUM: mux-h1: make HTX chunking consistent with H2
by Willy Tarreau
· 6 years ago
34d2348
BUG/MEDIUM: mux-h1: use per-direction flags to indicate transitions
by Willy Tarreau
· 6 years ago
351411f
BUG/MAJOR: sessions: Use an unlimited number of servers for the conn list.
by Olivier Houchard
· 6 years ago
a8f6b43
MEDIUM: mux_h1: Implement h1_show_fd.
by Olivier Houchard
· 6 years ago
d2e88c7
BUG/MEDIUM: h1: Don't shutw/shutr the connection if we have keepalive.
by Olivier Houchard
· 6 years ago
3d2ee55
CLEANUP: connection: rename conn->mux_ctx to conn->ctx
by Willy Tarreau
· 6 years ago
4f6516d
CLEANUP: connection: rename subscription events values and event field
by Willy Tarreau
· 6 years ago
598d7fc
BUG/MINOR: mux-h1: report the correct frontend in error captures
by Willy Tarreau
· 6 years ago
3a6190f
BUG/MEDIUM: mux-h1: don't try to process an empty input buffer
by Willy Tarreau
· 6 years ago
a4d4fdf
MEDIUM: sessions: Don't keep an infinite number of idling connections.
by Olivier Houchard
· 6 years ago
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· 6 years ago
8a78690
MEDIUM: mux: Destroy the stream before trying to add the conn to the idle list.
by Olivier Houchard
· 6 years ago
37dd54d
BUG/MEDIUM: mux-h1: make sure we always have at least one HTX block to send
by Willy Tarreau
· 6 years ago
84cca66
BUG/MEDIUM: htx: When performing zero-copy, start from the right offset.
by Olivier Houchard
· 6 years ago
c0960d1
MINOR: mux_h1/h2: simplify the zero-copy Rx alignment
by Willy Tarreau
· 6 years ago
e0f24ee
MINOR: connection: realign empty buffers in muxes, not transport layers
by Willy Tarreau
· 6 years ago
44d5914
MEDIUM: htx: Try to take a connection over if it has no owner.
by Olivier Houchard
· 6 years ago
a0883e6
BUG/MEDIUM: mux-h1: Wake the stream for send once the connection is established
by Christopher Faulet
· 6 years ago
e17fa2f
MINOR: mux-h1: Add helper functions to wake a stream from recv or send
by Christopher Faulet
· 6 years ago
cf56b99
BUG/MEDIUM: mux-h1: Fix loop if server closes its connection with unparsed data
by Christopher Faulet
· 6 years ago
9a86fcb
MEDIUM: mux: Add an optional "reset" method.
by Olivier Houchard
· 6 years ago
adb2220
BUG/MEDIUM: mux-h1: Fix the zero-copy on output for chunked messages
by Christopher Faulet
· 6 years ago
3815b22
MEDIUM: mux-h1: implement true zero-copy of DATA blocks
by Willy Tarreau
· 6 years ago
afba57a
REORG: h1: merge types+proto into common/h1.h
by Willy Tarreau
· 6 years ago
b96b77e
REORG: htx: merge types+proto into common/htx.h
by Willy Tarreau
· 6 years ago
f6ce9d6
BUG/MEDIUM: mux-h1: Don't loop on the headers parsing if the read0 was received
by Christopher Faulet
· 6 years ago
cb55f48
BUG/MEDIUM: mux-h1: Add a BUSY mode to not loop on pipelinned requests
by Christopher Faulet
· 6 years ago
de68b13
BUG/MINOR: mux-h1: Fix conn_mode processing for headerless outgoing messages
by Christopher Faulet
· 6 years ago
ce85149
BUG/MINOR: mux-h1: Remove the connection header when it is useless
by Christopher Faulet
· 6 years ago
5f50f5e
MINOR: mux-h1: Set CS_FL_EOS when read0 is detected and no data are pending
by Christopher Faulet
· 6 years ago
e6b3994
BUG/MEDIUM: mux-h1: Be sure to have a conn_stream to set CS_FL_REOS in h1_recv
by Christopher Faulet
· 6 years ago
6a2d334
BUG/MEDIUM: h1: Set CS_FL_REOS if we had a read0.
by Olivier Houchard
· 6 years ago
e728478
BUG/MEDIUM: h1: Don't free the connection if it's an outgoing connection.
by Olivier Houchard
· 6 years ago
d247be0
BUG/MEDIUM: connections: Split CS_FL_RCV_MORE into 2 flags.
by Olivier Houchard
· 6 years ago
145aa47
MINOR: mux-h1: Drain obuf if the output is closed after sending data
by Christopher Faulet
· 6 years ago
b2e8416
MINOR: mux-h1: Allow partial data consumption during outgoing data processing
by Christopher Faulet
· 6 years ago
aa75b3d
CLEANUP: htx: Fix indentation here and there in HTX files
by Christopher Faulet
· 6 years ago
56df0a8
MINOR: mux-h1: Don't adjust anymore the amount of data sent in h1_snd_buf()
by Christopher Faulet
· 6 years ago
27ba2dc
MEDIUM: htx: Rework conversion from a buffer to an htx structure
by Christopher Faulet
· 6 years ago
7003378
BUG/MINOR: mux-h1: Check h1m flags to set the server conn_mode on request path
by Christopher Faulet
· 6 years ago
c5efa33
MEDIUM: mux-h1: avoid a double copy on the Tx path whenever possible
by Willy Tarreau
· 6 years ago
78f548f
MEDIUM: mux-h1: attempt to zero-copy Rx DATA transfers
by Willy Tarreau
· 6 years ago
45f2b89
MEDIUM: mux-h1: make use of buf_room_for_htx_data() instead of b_room()
by Willy Tarreau
· 6 years ago
29a22bc
MEDIUM: h1: Realign the ibuf before calling rcv_buf if needed.
by Olivier Houchard
· 6 years ago
cf42d5a
BUG/MEDIUM: h1: Correctly report used data with no len.
by Olivier Houchard
· 6 years ago
1a7ad7a
BUG/MEDIUM: mux-h1: Release the mux H1 in h1_process() if there is no h1s
by Christopher Faulet
· 6 years ago
c386a88
MINOR: mux-h1: Make sure to return 1 in h1_recv() when needed
by Christopher Faulet
· 6 years ago
37e3607
BUG/MEDIUM: mux-h1: Always set CS_FL_RCV_MORE when data are received in h1_recv()
by Christopher Faulet
· 6 years ago
75159a9
MEDIUM: mux-h1: Revamp the way subscriptions are handled.
by Olivier Houchard
· 6 years ago
7ccff1a
BUG/MEDIUM: h1: Destroy a connection after detach if it has no owner.
by Olivier Houchard
· 6 years ago
c59ff23
MINOR: htx: Rename functions htx_*_to_str() to be H1 specific
by Christopher Faulet
· 6 years ago
30bc509
CLEANUP: Fix typos in the h1 subsystem
by Joseph Herlant
· 6 years ago
8defe4b
MINOR: mux: add a "max_streams" method.
by Olivier Houchard
· 6 years ago
e44769b
MINOR: mux-h1: Capture bad H1 messages
by Christopher Faulet
· 6 years ago
bd44ca6
MINOR: mux-h1: Change client conn_mode on an explicit close for the response
by Christopher Faulet
· 6 years ago
d1ebb1e
MINOR: mux-h1: Process conn_mode on the EOH when no connection header is found
by Christopher Faulet
· 6 years ago
b2db4fa
MINOR: htx: Add BODYLESS flags on the HTX start-line and the HTTP message
by Christopher Faulet
· 6 years ago
0359911
MINOR: proto-htx: Use the start-line flags to set the HTTP messsage ones
by Christopher Faulet
· 6 years ago
f1ba18d
MEDIUM: htx: Don't rely on h1_sl anymore except during H1 header parsing
by Christopher Faulet
· 6 years ago
570d161
MEDIUM: htx: Change htx_sl to be a struct instead of an union
by Christopher Faulet
· 6 years ago
9400a39
MEDIUM: mux-h1: Add keep-alive outgoing connections in connections list
by Christopher Faulet
· 6 years ago
5d37dac
MINOR: mux-h1: Consume channel's data in a loop in h1_snd_buf()
by Christopher Faulet
· 6 years ago
f96c322
MINOR: mux-h1: Subscribe to send in h1_snd_buf() when not all data have been sent
by Christopher Faulet
· 6 years ago
1727648
MINOR: mux-h1: Be prepare to fail when EOM is added during trailers parsing
by Christopher Faulet
· 6 years ago
3218821
MINOR: mux-h1: Write last chunk and trailers if not found in the HTX message
by Christopher Faulet
· 6 years ago
a1692f5
MINOR: mux-h1: Don't rely on the stream anymore in h1_set_srv_conn_mode()
by Christopher Faulet
· 6 years ago
feb1174
MINOR: mux-h1: Implement get_cs_info() callback
by Christopher Faulet
· 6 years ago
66229af
BUG/MEDIUM: mux-h1: Reset the H1 parser when an outgoing message is processed
by Christopher Faulet
· 6 years ago
5999b86
BUG/MINOR: mux-h1: Fix processing of "Connection: " header on outgoing messages
by Christopher Faulet
· 6 years ago
2455ceb
MEDIUM: memory: use pool_destroy_all() to destroy all pools on deinit()
by Willy Tarreau
· 6 years ago
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· 6 years ago
172f5ce
MINOR: initcall: use initcalls for most post_{check,deinit} and per_thread*
by Willy Tarreau
· 6 years ago
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· 6 years ago
7e346f3
BUG/MINOR: mux-htx: Fix bad test on h1c flags in h1_recv_allowed()
by Christopher Faulet
· 6 years ago
9c38840
BUG/MEDIUM: mux-h1: Don't set the flag CS_FL_RCV_MORE when nothing was parsed
by Christopher Faulet
· 6 years ago
d44ad5b
BUG/MEDIUM: mux-h1: Fix freeze when the kernel splicing is used
by Christopher Faulet
· 6 years ago
81d4843
BUG/MINOR: mux-h1: Enable keep-alive on server side
by Christopher Faulet
· 6 years ago
539e029
MAJOR: mux-h1: Remove the rxbuf and decode HTTP messages in channel's buffer
by Christopher Faulet
· 6 years ago
4736527
MEDIUM: mux-h1: Handle errors and timeouts in the stream
by Christopher Faulet
· 6 years ago
3b88b8d
MEDIUM: mux-h1: Wait for connection establishment before consuming channel's data
by Christopher Faulet
· 6 years ago
9768c26
MAJOR: mux-h1/proto_htx: Switch mux-h1 and HTX analyzers on the HTX representation
by Christopher Faulet
· 6 years ago
1be55f9
MEDIUM: mux-h1: Add support of the kernel TCP splicing to forward data
by Christopher Faulet
· 6 years ago
f2824e6
MAJOR: mux-h1/proto_htx: Handle keep-alive connections in the mux
by Christopher Faulet
· 6 years ago
129817b
MEDIUM: mux-h1: Add parsing of incoming and ougoing HTTP messages
by Christopher Faulet
· 6 years ago
51dbc94
MEDIUM: mux-h1: Add dummy mux to handle HTTP/1.1 connections
by Christopher Faulet
· 6 years ago