Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
d5c8a107aec6ddde5a3314357f146ee07e4b3221
/
src
/
mux_h1.c
9b949bc
BUG/MEDIUM: mux-h1: Wakeup H1C on shutw if there is no I/O subscription
by Christopher Faulet
· Fri Mar 24 09:26:16 2023 +0100
c5fd15d
BUG/MEDIUM: connection: Preserve flags when a conn is removed from an idle list
by Christopher Faulet
· Thu Mar 16 11:43:05 2023 +0100
dbfe18a
BUG/MEDIUM: connection: Clear flags when a conn is removed from an idle list
by Christopher Faulet
· Tue Feb 28 15:39:38 2023 +0100
6609cbe
BUG/MINOR: mux-h1: Fix handling of 408-Request-Time-Out
by Christopher Faulet
· Wed Nov 23 16:58:22 2022 +0100
eadd982
BUG/MINOR: mux-h1: Do not send a last null chunk on body-less answers
by Mickael Torres
· Wed Nov 16 14:29:37 2022 +0100
da3db5b
BUG/MINOR: mux-h1: Account consumed output data on synchronous connection error
by Christopher Faulet
· Thu Sep 15 16:21:55 2022 +0200
db316fb
BUG/MINOR: mux-h1: fix the "show fd" dest buffer for the subscriber
by Willy Tarreau
· Fri Sep 02 14:21:05 2022 +0200
0148a6a
BUG/MEDIUM: mux-h1: always use RST to kill idle connections in pools
by Willy Tarreau
· Thu Sep 01 15:49:23 2022 +0200
a3d9a37
BUG/MEDIUM: mux-h1: do not refrain from signaling errors after end of input
by Willy Tarreau
· Mon Aug 29 10:22:56 2022 +0200
c76359d
BUG/MEDIUM: mux-h1: Handle connection error after a synchronous send
by Christopher Faulet
· Fri Jul 08 15:20:31 2022 +0200
88c6abf
BUG/MINOR: mux-h1: Be sure to commit htx changes in the demux buffer
by Christopher Faulet
· Fri Jul 08 09:02:59 2022 +0200
1b6b14e
CLEANUP: mux-h1: Fix comments and error messages for global options
by Christopher Faulet
· Fri May 13 09:27:13 2022 +0200
f9a0f51
BUG/MEDIUM: mux-h1: Be able to handle trailers when C-L header was specified
by Christopher Faulet
· Thu May 05 09:39:42 2022 +0200
5d0efb7
BUG/MEDIUM: mux-h1: Don't request more room on partial trailers
by Christopher Faulet
· Wed Apr 13 17:48:54 2022 +0200
18906cf
BUG/MEDIUM: mux-h1: Set outgoing message to DONE when payload length is reached
by Christopher Faulet
· Thu Apr 07 10:29:38 2022 +0200
a1d43d1
BUG/MEDIUM: mux-h1: Properly detect full buffer cases during message parsing
by Christopher Faulet
· Mon Mar 28 16:19:02 2022 +0200
a352e82
BUG/MEDIUM: mux-h1: only turn CO_FL_ERROR to CS_FL_ERROR with empty ibuf
by Willy Tarreau
· Thu Mar 17 17:10:36 2022 +0100
f04721e
BUG/MEDIUM: mux-h1: Don't wake h1s if mux is blocked on lack of output buffer
by Christopher Faulet
· Tue Feb 01 18:25:06 2022 +0100
8802bf1
BUG/MEDIUM: connection: properly leave stopping list on error
by Willy Tarreau
· Wed Jan 12 17:24:26 2022 +0100
9328a6c
BUG/MAJOR: mux-h1: Don't decrement .curr_len for unsent data
by Christopher Faulet
· Mon Jan 10 17:27:51 2022 +0100
c765de5
BUG/MINOR: mux-h1: Fix splicing for messages with unknown length
by Christopher Faulet
· Fri Nov 26 17:26:19 2021 +0100
5f60d18
BUG/MEDIUM: mux-h1: Fix splicing by properly detecting end of message
by Christopher Faulet
· Fri Nov 26 16:37:55 2021 +0100
4711a89
MINOR: proxy: add option idle-close-on-response
by William Dauchy
· Wed Jan 05 22:53:24 2022 +0100
1a62dc3
MINOR: mux-h1: Improve H1 traces by adding info about http parsers
by Christopher Faulet
· Fri Nov 26 17:31:35 2021 +0100
ee7fcd5
MINOR: stream/mux: implement websocket stream flag
by Amaury Denoyelle
· Mon Oct 18 14:45:49 2021 +0200
bde7e05
BUG/MEDIUM: mux-h1: Handle delayed silent shut in h1_process() to release H1C
by Christopher Faulet
· Mon Nov 15 14:51:37 2021 +0100
ea62e18
MINOR: mux-h1: Slightly Improve H1 traces
by Christopher Faulet
· Wed Nov 10 10:30:15 2021 +0100
37c4254
BUG/MEDIUM: mux-h1: Perform a connection shutdown when the h1c is released
by Christopher Faulet
· Wed Oct 27 15:42:13 2021 +0200
db451fb
BUG/MINOR: mux-h1: Save shutdown mode if the shutdown is delayed
by Christopher Faulet
· Wed Oct 27 15:36:38 2021 +0200
f9bb8d0
BUG/MINOR: mux-h1/mux-fcgi: Sanitize TE header to only send "trailers"
by Christopher Faulet
· Tue Sep 28 10:56:36 2021 +0200
93a466b
MINOR: stream-int: Notify mux when the buffer is not stuck when calling rcv_buf
by Christopher Faulet
· Tue Sep 21 15:50:55 2021 +0200
58f21da
BUG/MEDIUM: mux-h1: Adjust conditions to ask more space in the channel buffer
by Christopher Faulet
· Mon Sep 20 07:47:27 2021 +0200
af3b83e
BUG/MAJOR: mux-h1: Don't eval input data if an error was reported
by Christopher Faulet
· Thu Sep 16 08:16:23 2021 +0200
686d785
CLEANUP: mux-h1: Remove condition rejecting upgrade requests with payload
by Christopher Faulet
· Thu Sep 09 14:51:26 2021 +0200
0b34e51
BUG/MINOR: mux-h1: Be sure to swap H1C to splice mode when rcv_pipe() is called
by Christopher Faulet
· Mon Jul 26 10:49:39 2021 +0200
6858d76
BUG/MINOR: mux-h1: Obey dontlognull option for empty requests
by Christopher Faulet
· Mon Jul 26 09:42:49 2021 +0200
f0ba0fd
BUG/MINOR: mux-h1: do not skip the error response on bad requests
by Willy Tarreau
· Wed Jun 16 15:06:43 2021 +0200
adc0240
BUILD: mux-h1: include proxy.h from mux-h1.c
by Willy Tarreau
· Sat May 08 20:28:54 2021 +0200
10a8670
MINOR: mux-h1: Manage processing blocking flags on the H1 stream
by Christopher Faulet
· Wed Apr 07 14:18:11 2021 +0200
14ee9b8
CLEANUP: mux-h1: rename WAIT_INPUT/WAIT_OUTPUT flags
by Christopher Faulet
· Wed Apr 07 11:50:26 2021 +0200
02c92c3
MEDIUM: mux-h1: Wake H1 stream when both sides a synchronized
by Christopher Faulet
· Fri Apr 09 12:31:48 2021 +0200
94d3510
MINOR: mux-h1: Always subscribe for reads when splicing is disabled
by Christopher Faulet
· Fri Apr 09 11:58:49 2021 +0200
8454f2d
MINOR: mux-h1: Subscribe for sends if output buffer is not empty in h1_snd_pipe
by Christopher Faulet
· Tue Apr 06 17:27:32 2021 +0200
2b861bf
MINOR: mux-h1: clean up conditions to enabled and disabled splicing
by Christopher Faulet
· Tue Apr 06 17:24:39 2021 +0200
1baef15
BUG/MEDIUM: mux-h1: Properly report client close if abortonclose option is set
by Christopher Faulet
· Thu Apr 08 18:42:59 2021 +0200
ec4207c
MEDIUM: mux-h1: Don't block reads when waiting for the other side
by Christopher Faulet
· Thu Apr 08 18:34:30 2021 +0200
d3a88c1
MEDIUM: connection: close front idling connection on soft-stop
by Amaury Denoyelle
· Mon May 03 10:47:51 2021 +0200
efc6e95
MEDIUM: mux_h1: release idling frontend conns on soft-stop
by Amaury Denoyelle
· Wed May 05 11:11:11 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
6eb3d37
MINOR: trace: make trace sources read_mostly
by Willy Tarreau
· Sat Apr 10 19:29:26 2021 +0200
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· Tue Apr 06 13:53:36 2021 +0200
3f612f7
MEDIUM: mux-h1: Expose h1 in the list of supported mux protocols
by Christopher Faulet
· Fri Feb 05 16:44:21 2021 +0100
143e9e5
MINOR: mux-h1: Don't perform implicit HTTP/2 upgrade if not supported by mux
by Christopher Faulet
· Mon Mar 08 15:32:03 2021 +0100
62592ad
BUG/MEDIUM: mux-h1: make h1_shutw_conn() idempotent
by Willy Tarreau
· Fri Mar 26 09:09:42 2021 +0100
d68d4f1
MEDIUM: dynbuf: remove last usages of b_alloc_margin()
by Willy Tarreau
· Mon Mar 22 14:44:31 2021 +0100
dae6975
MINOR: muxes: garbage collect the reset() method.
by Olivier Houchard
· Sun Mar 14 00:39:49 2021 +0100
7416314
CLEANUP: task: make sure tasklet handlers always indicate their statuses
by Willy Tarreau
· Sat Mar 13 11:30:19 2021 +0100
36119de
BUG/MEDIUM: session: NULL dereference possible when accessing the listener
by William Lallemand
· Mon Mar 08 15:26:48 2021 +0100
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 2021 +0100
430bf4a
MINOR: server: allocate a per-thread struct for the per-thread connections stuff
by Willy Tarreau
· Thu Mar 04 09:45:32 2021 +0100
4f8cd43
MINOR: xprt: add new xprt_set_idle and xprt_set_used methods
by Willy Tarreau
· Tue Mar 02 17:27:58 2021 +0100
e388f2f
MEDIUM: muxes: mark idle conns tasklets with TASK_F_USR1
by Willy Tarreau
· Tue Mar 02 16:51:09 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
dcf753a
CLEANUP: Use the ist() macro whenever possible
by Tim Duesterhus
· Thu Mar 04 17:31:47 2021 +0100
7b5777d
CLEANUP: Use isttest(const struct ist) whenever possible
by Tim Duesterhus
· Tue Mar 02 18:57:28 2021 +0100
92c696e
CLEANUP: Use ist2(const void*, size_t) whenever possible
by Tim Duesterhus
· Sun Feb 28 16:11:36 2021 +0100
6c93c4e
CLEANUP: muxes: Remove useless if condition in show_fd function
by Christopher Faulet
· Thu Feb 25 10:06:29 2021 +0100
4d77bbf
MINOR: dynbuf: pass offer_buffers() the number of buffers instead of a threshold
by Willy Tarreau
· Sat Feb 20 12:02:46 2021 +0100
90f366b
MINOR: dynbuf: use regular lists instead of mt_lists for buffer_wait
by Willy Tarreau
· Sat Feb 20 11:49:49 2021 +0100
e8e5091
MINOR: dynbuf: make the buffer wait queue per thread
by Willy Tarreau
· Sat Feb 20 11:38:56 2021 +0100
8990b01
MINOR: connection: allocate dynamically hash node for backend conns
by Amaury Denoyelle
· Fri Feb 19 15:29:16 2021 +0100
f232cb3
MEDIUM: connection: replace idle conn lists by eb trees
by Amaury Denoyelle
· Wed Jan 06 16:14:12 2021 +0100
5c7086f
MEDIUM: connection: protect idle conn lists with locks
by Amaury Denoyelle
· Mon Jan 11 09:21:52 2021 +0100
0aeaa29
CLEANUP: muxes: Remove useless calls to b_realign_if_empty()
by Christopher Faulet
· Thu Feb 04 11:13:43 2021 +0100
3689367
MINOR: mux-h1: Be sure EOM flag is set when processing end of outgoing message
by Christopher Faulet
· Wed Feb 10 09:52:07 2021 +0100
0a916d2
BUG/MINOR: mux-h1: Don't blindly skip EOT block for non-chunked messages
by Christopher Faulet
· Wed Feb 10 08:48:19 2021 +0100
0d7e634
BUG/MINOR: mux-h1: Fix data skipping for bodyless responses
by Christopher Faulet
· Mon Feb 08 15:56:36 2021 +0100
a22782b
BUG/MEDIUM: mux-h1: Always set CS_FL_EOI for response in MSG_DONE state
by Christopher Faulet
· Mon Feb 08 17:18:01 2021 +0100
f4b7074
BUG/MINOR: mux-h1: Don't increment HTTP error counter for 408/500/501 errors
by Christopher Faulet
· Wed Feb 10 14:48:57 2021 +0100
acf8459
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sat Feb 06 22:29:08 2021 +0500
3d6e0e3
BUG/MINOR: mux-h1: Don't emit extra CRLF for empty chunked messages
by Christopher Faulet
· Mon Feb 08 09:34:35 2021 +0100
1faeb4c
MINOR: mux-h1: Remove first useless test on count in h1_process_output()
by Christopher Faulet
· Fri Jan 29 10:22:28 2021 +0100
ac6322d
MINOR: muxes: export the timeout and shutr task handlers
by Willy Tarreau
· Fri Jan 29 12:33:46 2021 +0100
26a2643
MINOR: mux-h1/trace: add traces at level ERROR for all kind of errors
by Christopher Faulet
· Wed Jan 27 11:27:50 2021 +0100
aad333a
MEDIUM: h1: add a WebSocket key on handshake if needed
by Amaury Denoyelle
· Fri Dec 11 17:53:07 2020 +0100
c193823
MEDIUM: h1: generate WebSocket key on response if needed
by Amaury Denoyelle
· Fri Dec 11 17:53:03 2020 +0100
18ee5c3
MINOR: h1: reject websocket handshake if missing key
by Amaury Denoyelle
· Fri Dec 11 17:53:02 2020 +0100
f3e7619
MINOR: mux-h1: Don't add Connection close/keep-alive header for 1xx messages
by Christopher Faulet
· Wed Dec 02 16:46:33 2020 +0100
91fcf21
MINOR: mux-h1: Don't emit C-L and T-E headers for 204 and 1xx responses
by Christopher Faulet
· Wed Dec 02 16:17:15 2020 +0100
e5596bf
MEDIUM: mux-h1: Don't emit any payload for bodyless responses
by Christopher Faulet
· Wed Dec 02 16:13:22 2020 +0100
5696f54
MINOR: mux-h1: Add a flag on H1 streams with a response known to be bodyless
by Christopher Faulet
· Wed Dec 02 16:08:38 2020 +0100
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· Wed Dec 02 19:12:22 2020 +0100
5be651d
BUG/MAJOR: mux-h1/mux-h2/htx: Fix HTTP tunnel management at the mux level
by Christopher Faulet
· Fri Jan 22 15:28:03 2021 +0100
dea2474
MEDIUM: mux-h1: Properly handle tunnel establishments and aborts
by Christopher Faulet
· Fri Jan 22 15:12:30 2021 +0100
b385b50
MINOR: mux-h1: Split H1C_F_WAIT_OPPOSITE flag to separate input/output sides
by Christopher Faulet
· Wed Jan 13 18:47:57 2021 +0100
1e85778
MINOR: mux-h1/mux-fcgi: Don't set TUNNEL mode if payload length is unknown
by Christopher Faulet
· Tue Dec 08 10:38:22 2020 +0100
0f9395d
BUG/MAJOR: mux-h1: Properly handle TCP to H1 upgrades
by Christopher Faulet
· Thu Jan 21 17:50:19 2021 +0100
39c7b6b
MEDIUM: mux-h1: Add ST_READY state for the H1 connections
by Christopher Faulet
· Thu Jan 21 17:44:35 2021 +0100
d9ee788
MINOR: mux-h1: Wake up H1C after its creation if input buffer is not empty
by Christopher Faulet
· Thu Jan 21 17:45:45 2021 +0100
ad4daf6
MINOR: mux-h1: Try to wake up data layer first before calling its wake callback
by Christopher Faulet
· Thu Jan 21 17:49:01 2021 +0100
Next »