Ken Giusti created DISPATCH-2189:
------------------------------------
Summary: HTTP/1.x hangs if client sends "Expect: 100-continue"
header
Key: DISPATCH-2189
URL: https://issues.apache.org/jira/browse/DISPATCH-2189
Project: Qpid Dispatch
Issue Type: Bug
Components: Protocol Adaptors
Affects Versions: 1.16.0
Reporter: Ken Giusti
Assignee: Ken Giusti
The "curl" tool will include an "Expect: 100-continue" header in PUT/POST
operations. curl will then block until the server has responded with a "100
Continue". See
[rfc723|https://datatracker.ietf.org/doc/html/rfc7231#section-5.1.1].
In order to minimize message fragmentation at the TCP/IP layer the router will
not immediately forward a small message that is streaming (See DISPATCH-1545).
However, the curl client's message is too small to trigger the streaming logic
and will never signal receive-complete as it is waiting for a response from the
server. This means the partial request message is never forwarded and curl
hangs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]