synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Linton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-231) missing handling of http responses with status 100 (continue)
Date Sun, 20 Apr 2008 17:48:21 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ruwan Linton resolved SYNAPSE-231.
----------------------------------

    Resolution: Fixed

Fixed in the svn trunk. HTTP specification does not specify the clients to wait indefinitely
to send the request body till they receive the 100 Continue even the client sends an Expectation
header with "100-Continue" expectation. So the fix should work and we must keep in mind that
we do not send the 100 Continue to the client in any instance.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3

I have tested this with dot net and seems to work.. :-)  

> missing handling of http responses with status 100 (continue)
> -------------------------------------------------------------
>
>                 Key: SYNAPSE-231
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-231
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 1.1.1
>         Environment: WinXP, Java 1.5.0_11-b03, Tomcat 5.5.9
>            Reporter: Hiltbrunner Dominik
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> The handling of http responses in the switch-statement(starting line 280) in class org.apache.synapse.transport.nhttp.ClientHandler
may not be correct.
> Since the default-block was added to the statement, the output written to the log is
confusing, whenever a response with status 100 
> (HTTP/1.1 100 Continue) is processed. But the responses are processed correctly.
> Solution:
> Adding proper handling of org.apache.http.HttpStatus.SC_CONTINUE(from the httpcore project)
to the switch statement.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message