[
https://issues.apache.org/jira/browse/DISPATCH-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17375973#comment-17375973
]
ASF subversion and git services commented on DISPATCH-2189:
-----------------------------------------------------------
Commit 7d5b44832a2633bc6b079d378f461a09089bf14b in qpid-dispatch's branch
refs/heads/main from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=7d5b448 ]
DISPATCH-2189: fix 100-Continue bug, add curl tests
This closes #1281
> 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
> Priority: Major
>
> 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]