Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
d28b2b2352291991190fd0693fdfd3d7430e6ddb
/
src
/
mux_h1.c
beeabf5
MINOR: task: provide 3 task_new_* wrappers to simplify the API
by Willy Tarreau
· Fri Oct 01 18:23:30 2021 +0200
da3adeb
BUG/MEDIUM: mux-h1/mux-fcgi: Reject messages with unknown transfer encoding
by Christopher Faulet
· Tue Sep 28 09:50:07 2021 +0200
f56e846
BUG/MINOR: mux-h1/mux-fcgi: Sanitize TE header to only send "trailers"
by Christopher Faulet
· Tue Sep 28 10:56:36 2021 +0200
631c7e8
MEDIUM: h1: Force close mode for invalid uses of T-E header
by Christopher Faulet
· Mon Sep 27 09:47:03 2021 +0200
e136bd1
MEDIUM: mux-h1: Reject HTTP/1.0 GET/HEAD/DELETE requests with a payload
by Christopher Faulet
· Tue Sep 21 18:44:55 2021 +0200
b3230f7
MINOR: mux-h1: Be able to set custom status code on parsing error
by Christopher Faulet
· Tue Sep 21 18:38:20 2021 +0200
36e46aa
MINOR: mux-h1: Set error code if possible when MUX_EXIT_STATUS is returned
by Christopher Faulet
· Tue Sep 28 11:45:05 2021 +0200
564e39c
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
46e058d
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
ab7389d
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
0fa8007
CLEANUP: mux-h1: Remove condition rejecting upgrade requests with payload
by Christopher Faulet
· Thu Sep 09 14:51:26 2021 +0200
cf30756
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
07e10de
BUG/MINOR: mux-h1: Obey dontlognull option for empty requests
by Christopher Faulet
· Mon Jul 26 09:42:49 2021 +0200
b74debd
BUG/MINOR: mux-h1: do not skip the error response on bad requests
by Willy Tarreau
· Wed Jun 16 15:06:43 2021 +0200
1112430
MINOR: errors: specify prefix "config" for parsing output
by Amaury Denoyelle
· Fri Jun 04 18:22:08 2021 +0200
44c0dcf
CLEANUP: mux-h1: Rename functions parsing input buf and filling output buf
by Christopher Faulet
· Tue Feb 16 18:32:08 2021 +0100
00d7cde
MINOR: muxes/h1-htx: Realign input buffer using b_slow_realign_ofs()
by Christopher Faulet
· Thu Feb 04 11:01:51 2021 +0100
16a524c
MINOR: mux-h1/mux-fcgi: Don't needlessly loop on data parsing
by Christopher Faulet
· Tue Feb 02 21:16:03 2021 +0100
de471a4
MINOR: h1-htx: Update h1 parsing functions to return result as a size_t
by Christopher Faulet
· Mon Feb 01 16:37:28 2021 +0100
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
1d2d77b
MEDIUM: mux-h1: Return a 501-not-implemented for upgrade requests with a body
by Christopher Faulet
· Mon Dec 07 18:17:33 2020 +0100
2eed800
MINOR: mux-h1: Be prepared to return 501-not-implemented error during parsing
by Christopher Faulet
· Mon Dec 07 11:26:13 2020 +0100
0c0c0a2
MINOR: mux-h1/show_fd: report as suspicious an entry with too many calls
by Willy Tarreau
· Thu Jan 21 09:13:35 2021 +0100
8050efe
MINOR: cli: give the show_fd helpers the ability to report a suspicious entry
by Willy Tarreau
· Thu Jan 21 08:26:06 2021 +0100
150c4f8
MINOR: mux-h1: make the "show fd" helper also decode the h1s subscriber when known
by Willy Tarreau
· Wed Jan 20 17:05:58 2021 +0100
691d503
MINOR: xprt/mux: export all *_io_cb functions so that "show fd" resolves them
by Willy Tarreau
· Wed Jan 20 14:55:01 2021 +0100
b8888ab
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Wed Jan 06 21:20:16 2021 +0500
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
f38a018
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Mon Dec 21 01:16:17 2020 +0500
0c366a8
BUG/MEDIUM: mux-h1: Handle h1_process() failures on a pipelined request
by Christopher Faulet
· Fri Dec 18 15:13:47 2020 +0100
3e1748b
BUG/MINOR: mux-h1: Don't set CS_FL_EOI too early for protocol upgrade requests
by Christopher Faulet
· Mon Dec 07 18:21:27 2020 +0100
c75668e
BUG/MINOR: http: Establish a tunnel for all 2xx responses to a CONNECT
by Christopher Faulet
· Mon Dec 07 18:10:32 2020 +0100
cc043f6
BUG/MEDIUM: mux-h1: Fix a deadlock when a 408 error is pending for a client
by Christopher Faulet
· Mon Dec 14 10:06:12 2020 +0100
16df178
BUG/MEDIUM: stream: Xfer the input buffer to a fully created stream
by Christopher Faulet
· Fri Dec 04 16:47:41 2020 +0100
3ced1d1
CLEANUP: mux-h1: Rename H1C_F_CS_* flags and reorder H1C flags
by Christopher Faulet
· Fri Nov 27 16:44:01 2020 +0100
c4bfa59
MAJOR: mux-h1: Create the client stream as later as possible
by Christopher Faulet
· Tue Oct 06 17:45:34 2020 +0200
c18fc23
MINOR: mux-h1: Add functions to send HTTP errors from the mux
by Christopher Faulet
· Tue Oct 06 17:41:36 2020 +0200
4c8ad84
MINOR: mux: Add a ctl parameter to get the exit status of the multiplexers
by Christopher Faulet
· Tue Oct 06 14:59:17 2020 +0200
Next »