[ 
https://issues.apache.org/jira/browse/SYNAPSE-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590787#action_12590787
 ] 

Ruwan Linton commented on SYNAPSE-231:
--------------------------------------

I think we just need to neglect the 100 Continue from the server and wait for 
the actual response according to the HTTP 1.1 spec. I have tested this with a 
dot net service and now the actual response is sent to the client after 
neglecting the 100 Continue response from the server.

Need to test server side of synapse if the client sends a Http Expect: 
"100-Continue" header, but the fix for the ClientHandler is final because if 
Synapse has to send 100 Continue it should send it while receiving the request 
and not after receiving the full request again according to the HTTP 1.1 rfc.

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to