<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haproxy.git/include/haproxy/http_client.h, branch master</title>
<subtitle>github.com: haproxy/haproxy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/'/>
<entry>
<title>MINOR: httpclient: export httpclient_create_proxy()</title>
<updated>2022-09-14T12:34:39+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2022-09-14T12:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=1c8f3b386d431fceaea4fee72426e4e187451fbf'/>
<id>1c8f3b386d431fceaea4fee72426e4e187451fbf</id>
<content type='text'>
Export httpclient_create_proxy() in http_client.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Export httpclient_create_proxy() in http_client.h
</pre>
</div>
</content>
</entry>
<entry>
<title>MEDIUM: httpclient: allow to use another proxy</title>
<updated>2022-09-13T15:12:38+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2022-09-12T15:39:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=992ad62e3cd466bd740b6210ce1cfedd375eb439'/>
<id>992ad62e3cd466bd740b6210ce1cfedd375eb439</id>
<content type='text'>
httpclient_new_from_proxy() is a variant of httpclient_new() which
allows to create the requests from a different proxy.

The proxy and its 2 servers are now stored in the httpclient structure.

The proxy must have been created with httpclient_create_proxy() to be
used.

The httpclient_postcheck() callback will finish the initialization of
all proxies created with PR_CAP_HTTPCLIENT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpclient_new_from_proxy() is a variant of httpclient_new() which
allows to create the requests from a different proxy.

The proxy and its 2 servers are now stored in the httpclient structure.

The proxy must have been created with httpclient_create_proxy() to be
used.

The httpclient_postcheck() callback will finish the initialization of
all proxies created with PR_CAP_HTTPCLIENT.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient/lua: ability to set a server timeout</title>
<updated>2022-02-23T14:11:11+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2022-02-23T13:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=b4a4ef6a293e588af5250c124ac3aa5aae24aaff'/>
<id>b4a4ef6a293e588af5250c124ac3aa5aae24aaff</id>
<content type='text'>
Add the ability to set a "server timeout" on the httpclient with either
the httpclient_set_timeout() API or the timeout argument in a request.

Issue #1470.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the ability to set a "server timeout" on the httpclient with either
the httpclient_set_timeout() API or the timeout argument in a request.

Issue #1470.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: sets an alternative destination</title>
<updated>2022-02-17T19:07:00+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2022-02-17T18:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=7b2e0ee1c1d40fbf6bb95f103e61d4a1cb24aaf5'/>
<id>7b2e0ee1c1d40fbf6bb95f103e61d4a1cb24aaf5</id>
<content type='text'>
httpclient_set_dst() allows to set an alternative destination address
using HAProxy addres format. This will ignore the address within the
URL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpclient_set_dst() allows to set an alternative destination address
using HAProxy addres format. This will ignore the address within the
URL.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: request streaming with a callback</title>
<updated>2021-10-28T14:24:14+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2021-10-28T13:34:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=0da616ee18221ca7050f302df18cc12b272acd4b'/>
<id>0da616ee18221ca7050f302df18cc12b272acd4b</id>
<content type='text'>
This patch add a way to handle HTTP requests streaming using a
callback.

The end of the data must be specified by using the "end" parameter in
httpclient_req_xfer().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch add a way to handle HTTP requests streaming using a
callback.

The end of the data must be specified by using the "end" parameter in
httpclient_req_xfer().
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: support payload within a buffer</title>
<updated>2021-10-27T08:19:41+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2021-10-25T17:48:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=dec25c3e14754425a10ed386bd9bceab6af49573'/>
<id>dec25c3e14754425a10ed386bd9bceab6af49573</id>
<content type='text'>
httpclient_req_gen() takes a payload argument which can be use to put a
payload in the request. This payload can only fit a request buffer.

This payload can also be specified by the "body" named parameter within
the lua. httpclient.

It is also used within the CLI httpclient when specified as a CLI
payload with "&lt;&lt;".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpclient_req_gen() takes a payload argument which can be use to put a
payload in the request. This payload can only fit a request buffer.

This payload can also be specified by the "body" named parameter within
the lua. httpclient.

It is also used within the CLI httpclient when specified as a CLI
payload with "&lt;&lt;".
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: destroy checks if a client was started but not stopped</title>
<updated>2021-10-06T13:15:03+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2021-10-05T13:50:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=2a879001b5ce4b3cf3998c49a2886651e69fcf45'/>
<id>2a879001b5ce4b3cf3998c49a2886651e69fcf45</id>
<content type='text'>
During httpclient_destroy, add a condition in the BUG_ON which checks
that the client was started before it has ended. A httpclient structure
could have been created without being started.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During httpclient_destroy, add a condition in the BUG_ON which checks
that the client was started before it has ended. A httpclient structure
could have been created without being started.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: stop_and_destroy() ask the applet to autokill</title>
<updated>2021-10-06T13:15:03+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2021-09-28T09:00:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=ecb83e13eb31cbcf76c6f8aa46eccf8aca4e7b71'/>
<id>ecb83e13eb31cbcf76c6f8aa46eccf8aca4e7b71</id>
<content type='text'>
httpclient_stop_and_destroy() tries to destroy the httpclient structure
if the client was stopped.

In the case the client wasn't stopped, it ask the client to stop itself
and to destroy the httpclient structure itself during the release of the
applet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpclient_stop_and_destroy() tries to destroy the httpclient structure
if the client was stopped.

In the case the client wasn't stopped, it ask the client to stop itself
and to destroy the httpclient structure itself during the release of the
applet.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: httpclient_ended() returns 1 if the client ended</title>
<updated>2021-09-24T12:21:26+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2021-09-21T08:58:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=1123dde6dd31a09ffcf173513b0282d03cf62793'/>
<id>1123dde6dd31a09ffcf173513b0282d03cf62793</id>
<content type='text'>
httpclient_ended() returns 1 if there is no more data to collect,
because the client received everything or the connection ended.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpclient_ended() returns 1 if there is no more data to collect,
because the client received everything or the connection ended.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: httpclient: httpclient_data() returns the available data</title>
<updated>2021-09-24T12:21:26+00:00</updated>
<author>
<name>William Lallemand</name>
<email>wlallemand@haproxy.org</email>
</author>
<published>2021-09-21T08:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=518878e007aa7cdb6b3d0047427089733bba23e1'/>
<id>518878e007aa7cdb6b3d0047427089733bba23e1</id>
<content type='text'>
httpclient_data() returns the available data in the httpclient.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpclient_data() returns the available data in the httpclient.
</pre>
</div>
</content>
</entry>
</feed>
