Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1336ccffab272803fb0922d4c909b8b721ba35c1
/
src
/
http_client.c
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
a0bdec3
MEDIUM: stream-int/conn-stream: Move blocking flags from SI to CS
by Christopher Faulet
· Mon Apr 04 07:51:21 2022 +0200
da098e6
MINOR: stream-int/conn-stream: Move si_shut* and si_chk* in conn-stream scope
by Christopher Faulet
· Thu Mar 31 17:44:45 2022 +0200
8abe712
MINOR: stream-int: Remove SI_FL_NOLINGER/NOHALF to rely on CS flags instead
by Christopher Faulet
· Wed Mar 30 15:10:18 2022 +0200
8da67aa
MEDIUM: stream-int/conn-stream: Move src/dst addresses in the conn-stream
by Christopher Faulet
· Tue Mar 29 17:53:09 2022 +0200
908628c
MEDIUM: tree-wide: Use CS util functions instead of SI ones
by Christopher Faulet
· Fri Mar 25 16:43:49 2022 +0100
b041b23
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
by Christopher Faulet
· Thu Mar 24 10:27:02 2022 +0100
9ec2f4d
MAJOR: conn-stream: Share endpoint struct between the CS and the mux/applet
by Christopher Faulet
· Wed Mar 23 15:15:29 2022 +0100
a9e8b39
MEDIUM: conn-stream: Pre-allocate endpoint to create CS from muxes and applets
by Christopher Faulet
· Wed Mar 23 11:01:09 2022 +0100
b669d68
MEDIUM: conn-stream: Be able to pass endpoint to create a conn-stream
by Christopher Faulet
· Tue Mar 22 18:37:19 2022 +0100
9388204
MAJOR: conn-stream: Invert conn-stream endpoint and its context
by Christopher Faulet
· Wed Jan 19 14:56:50 2022 +0100
2479e5f
MEDIUM: applet: Set the appctx owner during allocation
by Christopher Faulet
· Wed Jan 19 14:50:11 2022 +0100
dca3b5b
BUG/MINOR: http_client: Don't add input data on an empty request buffer
by Christopher Faulet
· Thu Apr 07 10:47:07 2022 +0200
eb0d4c4
BUG/MINOR: httpclient: end callback in applet release
by William Lallemand
· Wed Apr 06 14:12:37 2022 +0200
71abad0
MEDIUM: httpclient: enable l7-retry
by William Lallemand
· Thu Mar 17 15:24:28 2022 +0100
ccc7ee4
MINOR: httpclient: enable request buffering
by William Lallemand
· Fri Mar 18 17:57:15 2022 +0100
58a81ae
BUG/MINOR: httpclient: CF_SHUTW_NOW should be tested with channel_is_empty()
by William Lallemand
· Thu Mar 17 15:14:15 2022 +0100
1eca894
BUG/MINOR: httpclient: process the response when received before the end of the request
by William Lallemand
· Thu Mar 17 14:57:23 2022 +0100
a625b03
BUG/MINOR: httpclient: only check co_data() instead of HTTP_MSG_DATA
by William Lallemand
· Thu Mar 17 14:45:46 2022 +0100
211ea25
BUG/MINOR: logs: fix logsrv leaks on clean exit
by Willy Tarreau
· Thu Mar 17 19:47:33 2022 +0100
715c101
BUILD: httpclient: fix build without SSL
by William Lallemand
· Wed Mar 16 16:39:23 2022 +0100
71e3158
BUG/MINOR: httpclient: send the SNI using the host header
by William Lallemand
· Wed Mar 16 15:47:47 2022 +0100
97f69c6
BUG/MEDIUM: httpclient: must manipulate head, not first
by William Lallemand
· Thu Mar 10 17:23:40 2022 +0100
c020b25
BUG/MINOR: httpclient: remove the UNUSED block when parsing headers
by William Lallemand
· Wed Mar 09 18:56:02 2022 +0100
c8f1eb9
BUG/MINOR: httpclient: consume partly the blocks when necessary
by William Lallemand
· Wed Mar 09 11:58:51 2022 +0100
2b7dc4e
BUG/MEDIUM: httpclient: don't consume data before it was analyzed
by William Lallemand
· Thu Feb 24 16:55:41 2022 +0100
3d43324
BUG/MINOR: httpclient: Set conn-stream/channel EOI flags at the end of request
by Christopher Faulet
· Thu Mar 03 15:38:39 2022 +0100
cda94ac
MAJOR: stream/conn_stream: Move the stream-interface into the conn-stream
by Christopher Faulet
· Thu Dec 23 17:28:17 2021 +0100
b91afea
MINOR: httpclient: Always access the stream-int via the conn-stream
by Christopher Faulet
· Thu Dec 23 13:58:12 2021 +0100
f835dea
MEDIUM: conn_stream: Add a pointer to the app object into the conn-stream
by Christopher Faulet
· Tue Dec 21 14:35:17 2021 +0100
86e1c33
MEDIUM: applet: Set the conn-stream as appctx owner instead of the stream-int
by Christopher Faulet
· Mon Dec 20 17:09:39 2021 +0100
13a35e5
MAJOR: conn_stream/stream-int: move the appctx to the conn-stream
by Christopher Faulet
· Mon Dec 20 15:34:16 2021 +0100
5b4b6ca
CLEANUP: httpclient: initialize the client in stage INIT not REGISTER
by Willy Tarreau
· Fri Feb 18 16:23:14 2022 +0100
b4a4ef6
MINOR: httpclient/lua: ability to set a server timeout
by William Lallemand
· Wed Feb 23 14:18:16 2022 +0100
11adb1d
BUG/MEDIUM: httpclient: limit transfers to the maximum available room
by Willy Tarreau
· Fri Feb 18 17:28:25 2022 +0100
2c8f984
CLEANUP: httpclient/cli: fix indentation alignment of the help message
by Willy Tarreau
· Fri Feb 18 16:26:36 2022 +0100
7b2e0ee
MINOR: httpclient: sets an alternative destination
by William Lallemand
· Thu Feb 17 19:10:55 2022 +0100
5085bc3
BUG/MINOR: httpclient: reinit flags in httpclient_start()
by William Lallemand
· Thu Feb 17 12:52:09 2022 +0100
de6ecc3
BUG/MINOR: httpclient/cli: display junk characters in vsn
by William Lallemand
· Wed Feb 16 11:37:02 2022 +0100
fc59129
MINOR: httpclient: Don't limit data transfer to 1024 bytes
by Christopher Faulet
· Wed Jan 12 14:46:03 2022 +0100
6ced61d
BUG/MEDIUM: httpclient: Xfer the request when the stream is created
by Christopher Faulet
· Wed Jan 12 15:27:41 2022 +0100
600985d
BUG/MINOR: httpclient: Revisit HC request and response buffers allocation
by Christopher Faulet
· Wed Jan 12 11:14:08 2022 +0100
bad9c8c
BUG/MINOR: httpclient: set default Accept and User-Agent headers
by William Lallemand
· Fri Jan 14 14:10:33 2022 +0100
e1e045f
BUG/MINOR: httpclient: don't send an empty body
by William Lallemand
· Fri Jan 14 14:08:34 2022 +0100
f03b53c
BUG/MINOR: httpclient: allow to replace the host header
by William Lallemand
· Wed Nov 24 15:38:17 2021 +0100
67b7784
BUG/MEDIUM: httpclient/cli: free of unallocated hc->req.uri
by William Lallemand
· Wed Nov 10 16:57:25 2021 +0100
db8a1f3
BUG/MEDIUM: httpclient: channel_add_input() must use htx->data
by William Lallemand
· Mon Nov 08 16:55:14 2021 +0100
933fe39
BUG/MINOR: httpclient/lua: rcv freeze when no request payload
by William Lallemand
· Thu Nov 04 09:45:58 2021 +0100
0f41c38
BUG/MINOR: httpclient: use a placeholder value for Host header
by William Lallemand
· Tue Nov 02 15:22:10 2021 +0100
0da616e
MINOR: httpclient: request streaming with a callback
by William Lallemand
· Thu Oct 28 15:34:26 2021 +0200
16f16af
MINOR: stream: Use backend stream-interface dst address instead of target_addr
by Christopher Faulet
· Wed Oct 27 09:34:56 2021 +0200
dec25c3
MINOR: httpclient: support payload within a buffer
by William Lallemand
· Mon Oct 25 19:48:37 2021 +0200
34b3a93
MINOR: httpclient/cli: access should be only done from expert mode
by William Lallemand
· Tue Oct 19 10:58:30 2021 +0200
bd6b4be
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Fri Oct 15 16:18:21 2021 +0500
1df2042
BUILD: httpclient: include missing ssl_sock-t
by Willy Tarreau
· Wed Oct 06 11:28:24 2021 +0200
2a87900
MINOR: httpclient: destroy checks if a client was started but not stopped
by William Lallemand
· Tue Oct 05 15:50:45 2021 +0200
4d60184
BUG/MEDIUM: httpclient/lua: crash because of b_xfer and get_trash_chunk()
by William Lallemand
· Thu Sep 30 10:07:57 2021 +0200
b8b1370
MINOR: httpclient: test if started during stop_and_destroy()
by William Lallemand
· Tue Sep 28 12:15:37 2021 +0200
ecb83e1
MINOR: httpclient: stop_and_destroy() ask the applet to autokill
by William Lallemand
· Tue Sep 28 11:00:43 2021 +0200
739f90a
MINOR: httpclient: set HTTPCLIENT_F_ENDED only in release
by William Lallemand
· Tue Sep 28 10:10:07 2021 +0200
03f5a1c
MINOR: httpclient: destroy() must free the headers and the ists
by William Lallemand
· Mon Sep 27 15:17:47 2021 +0200
614e683
BUG/MEDIUM: httpclient: replace ist0 by istptr
by William Lallemand
· Sun Sep 26 18:12:43 2021 +0200
1123dde
MINOR: httpclient: httpclient_ended() returns 1 if the client ended
by William Lallemand
· Tue Sep 21 10:58:10 2021 +0200
518878e
MINOR: httpclient: httpclient_data() returns the available data
by William Lallemand
· Tue Sep 21 10:45:34 2021 +0200
79a3478
MINOR: httpclient: add the EOH when no headers where provided
by William Lallemand
· Mon Sep 20 16:19:15 2021 +0200
e612446
MINOR: applet: remove the thread mask from appctx_new()
by Willy Tarreau
· Mon Sep 13 10:07:38 2021 +0200
bc2ebfa
MEDIUM: server: extend refcount for all servers
by Amaury Denoyelle
· Wed Aug 25 15:34:53 2021 +0200
957ab13
BUILD: httpclient: fix build without OpenSSL
by William Lallemand
· Tue Aug 24 18:33:28 2021 +0200
4463b17
BUG/MINOR: httpclient: fix Host header
by William Lallemand
· Tue Aug 24 17:53:03 2021 +0200
211c967
MINOR: httpclient: add the server to the proxy
by William Lallemand
· Tue Aug 24 17:18:13 2021 +0200
cfcbe9e
MINOR: httpclient: set verify none on the https server
by William Lallemand
· Tue Aug 24 17:15:58 2021 +0200
76ad371
BUG/MINOR: httpclient: remove deinit of the httpclient
by William Lallemand
· Tue Aug 24 15:09:15 2021 +0200
2a8fe8b
MINOR: httpclient: cleanup the include files
by William Lallemand
· Fri Aug 20 14:25:15 2021 +0200
0d6f779
BUG/MINOR: httpclient: check if hdr_num is not 0
by William Lallemand
· Fri Aug 20 11:59:49 2021 +0200
dfc3f89
BUG/MINOR: httpclient/cli: change the appctx test in the callbacks
by William Lallemand
· Fri Aug 20 11:35:29 2021 +0200
b702030
BUG/MINOR: httpclient: fix uninitialized sl variable
by William Lallemand
· Fri Aug 20 11:24:13 2021 +0200
0e72e40
BUG/MINOR: http_client: make sure to preset the proxy's default settings
by Willy Tarreau
· Fri Aug 20 10:23:12 2021 +0200
2484da5
MINOR: httpclient/cli: change the User-Agent to "HAProxy"
by William Lallemand
· Thu Aug 19 15:55:19 2021 +0200
03a4eb1
MINOR: httpclient/cli: implement a simple client over the CLI
by William Lallemand
· Wed Aug 18 16:46:21 2021 +0200
33b0d09
MINOR: httpclient: implement a simple HTTP Client API
by William Lallemand
· Fri Aug 13 16:05:53 2021 +0200
83614a9
MINOR: httpclient: initialize the proxy
by William Lallemand
· Fri Aug 13 14:47:57 2021 +0200