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] Commented: (SYNAPSE-231) missing handling of http responses with status 100 (continue)
Date Sun, 20 Apr 2008 17:36:21 GMT

    [ 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message