<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/inets/src/http_client, branch OTP-20.3.8.8</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>inets: Robust handling of 204, 304, 1xx responses</title>
<updated>2018-08-24T14:08:13+00:00</updated>
<author>
<name>Péter Dimitrov</name>
<email>peterdmv@erlang.org</email>
</author>
<published>2018-08-23T12:37:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0dceb1347440c8ff5ec0f572d2fd6bee782374a2'/>
<id>0dceb1347440c8ff5ec0f572d2fd6bee782374a2</id>
<content type='text'>
All 1xx (informational), 204 (no content), and 304 (not modified)
responses MUST NOT include a message-body, and thus are always
terminated by the first empty line after the header fields.
This implies that chunked encoding MUST NOT be used for these
status codes.

This commit updates the client to gracefully handle responses from
faulty server implementations that can send chunked encoded 204,
304 or 1xx responses.

Change-Id: I2dd502e28b3c6e121640083118fa5c3e479f5194
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All 1xx (informational), 204 (no content), and 304 (not modified)
responses MUST NOT include a message-body, and thus are always
terminated by the first empty line after the header fields.
This implies that chunked encoding MUST NOT be used for these
status codes.

This commit updates the client to gracefully handle responses from
faulty server implementations that can send chunked encoded 204,
304 or 1xx responses.

Change-Id: I2dd502e28b3c6e121640083118fa5c3e479f5194
</pre>
</div>
</content>
</entry>
<entry>
<title>inets: Fix broken httpc options handling</title>
<updated>2018-04-19T11:19:23+00:00</updated>
<author>
<name>Péter Dimitrov</name>
<email>peterdmv@erlang.org</email>
</author>
<published>2018-04-10T14:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2dc08b47e6a5ea759781479593c55bb5776cd828'/>
<id>2dc08b47e6a5ea759781479593c55bb5776cd828</id>
<content type='text'>
- Add support for setting socket options per request.
- Add http_ipv6 test group.

Change-Id: Ia2aca37c0b5fe64a41995c79ae3399434b17ab8a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add support for setting socket options per request.
- Add http_ipv6 test group.

Change-Id: Ia2aca37c0b5fe64a41995c79ae3399434b17ab8a
</pre>
</div>
</content>
</entry>
<entry>
<title>inets: Add unix domain socket support to httpc</title>
<updated>2018-02-26T08:41:21+00:00</updated>
<author>
<name>Péter Dimitrov</name>
<email>peterdmv@erlang.org</email>
</author>
<published>2018-02-20T14:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ae2daff04fdf7aca199e799c4f3024519e7d53f0'/>
<id>ae2daff04fdf7aca199e799c4f3024519e7d53f0</id>
<content type='text'>
Change-Id: I44fe2670e36884e09600d17dd71b1e86b9ee75fa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I44fe2670e36884e09600d17dd71b1e86b9ee75fa
</pre>
</div>
</content>
</entry>
<entry>
<title>inets: Fix httpc crash on keep-alive connections</title>
<updated>2018-02-09T08:43:22+00:00</updated>
<author>
<name>Péter Dimitrov</name>
<email>peterdmv@erlang.org</email>
</author>
<published>2018-02-06T09:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3b43a2fa050ac1b5f86a722bc556e74f6b44a3c9'/>
<id>3b43a2fa050ac1b5f86a722bc556e74f6b44a3c9</id>
<content type='text'>
- Set gen_server call timeout to infinity in httpc_handler.
- Add new testcase 'slow_connection'.

Change-Id: Id11b54c588e1d66b9ebba4da5dbfe5e9bee1f1ee
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Set gen_server call timeout to infinity in httpc_handler.
- Add new testcase 'slow_connection'.

Change-Id: Id11b54c588e1d66b9ebba4da5dbfe5e9bee1f1ee
</pre>
</div>
</content>
</entry>
<entry>
<title>inets: Eliminate race condition</title>
<updated>2017-11-17T08:35:12+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2017-11-14T07:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6eba2a32f2585bfd1d94fa1066167901213d0408'/>
<id>6eba2a32f2585bfd1d94fa1066167901213d0408</id>
<content type='text'>
Only run test case for http as the socket manipulation done by the test case
requires much more manipulation to work for https. However, that this test case
started failing constantly instead of sporadically is proof that this change
is a good thing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only run test case for http as the socket manipulation done by the test case
requires much more manipulation to work for https. However, that this test case
started failing constantly instead of sporadically is proof that this change
is a good thing.
</pre>
</div>
</content>
</entry>
<entry>
<title>[#ERL-407]: Fix httpc misbehaviour based on RFC7230, section 3.3.3</title>
<updated>2017-10-29T20:26:42+00:00</updated>
<author>
<name>Hamidreza Soleimani</name>
<email>hamidreza.s@gmail.com</email>
</author>
<published>2017-10-29T13:33:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=70a813c20a829ed47feb6a4b2e7b0332adac6c4f'/>
<id>70a813c20a829ed47feb6a4b2e7b0332adac6c4f</id>
<content type='text'>
If a message is received with both a Transfer-Encoding and a
Content-Length header field, it might indicate an attempt to
perform request smuggling or response splitting and must be
handled as an error in default mode (not relaxed mode).

Bug report: https://bugs.erlang.org/browse/ERL-407
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a message is received with both a Transfer-Encoding and a
Content-Length header field, it might indicate an attempt to
perform request smuggling or response splitting and must be
handled as an error in default mode (not relaxed mode).

Bug report: https://bugs.erlang.org/browse/ERL-407
</pre>
</div>
</content>
</entry>
<entry>
<title>inets: Correct guard test</title>
<updated>2017-10-26T14:46:57+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2017-10-26T14:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=05390c5a5a0b0657166d5c3c10e1a055cfe66e88'/>
<id>05390c5a5a0b0657166d5c3c10e1a055cfe66e88</id>
<content type='text'>
Guard test for error case was not updated to handle httpc stream concept
properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Guard test for error case was not updated to handle httpc stream concept
properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2017-06-14T13:36:21+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2017-06-14T13:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=43718d3b81d7f3d08e25047e22d579801bbe5044'/>
<id>43718d3b81d7f3d08e25047e22d579801bbe5044</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>inets: httpc - Gracefull normal shutdown</title>
<updated>2017-05-30T09:29:03+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2017-05-30T09:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8fe699b8ca17a3e9e1a3cd1821e112b9983a74ae'/>
<id>8fe699b8ca17a3e9e1a3cd1821e112b9983a74ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix httpc timeout for redirects</title>
<updated>2017-05-23T06:44:03+00:00</updated>
<author>
<name>Johannes Weißl</name>
<email>jargon@molb.org</email>
</author>
<published>2017-05-14T21:35:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fb4c7f27d050a167335a4274327cf1f8d8cc9aba'/>
<id>fb4c7f27d050a167335a4274327cf1f8d8cc9aba</id>
<content type='text'>
Probably since 6153ba7 (OTP R13B04) the httpc timeout setting does not
work for redirects (when autoredirect is true). With this patch a new
timer is started for the new (redirected) requests. This means that a
simple redirected request could return after 2*timeout milliseconds.

This is the first part to fix https://bugs.erlang.org/browse/ERL-420
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Probably since 6153ba7 (OTP R13B04) the httpc timeout setting does not
work for redirects (when autoredirect is true). With this patch a new
timer is started for the new (redirected) requests. This means that a
simple redirected request could return after 2*timeout milliseconds.

This is the first part to fix https://bugs.erlang.org/browse/ERL-420
</pre>
</div>
</content>
</entry>
</feed>
