You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "dushan abeyruwan (JIRA)" <ji...@apache.org> on 2016/05/28 18:32:12 UTC

[jira] [Commented] (SYNAPSE-850) NIO transport does not work with IIS as the LB due to "Expect: 100-Continue" ESB NIO transport does not work with IIS as the LB due to "Expect: 100-Continue"

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

dushan abeyruwan commented on SYNAPSE-850:
------------------------------------------

Hi Devs
Fix have been merged 
Committed revision r1745915.

Thanking You,
Dushan Abeyruwan

> NIO transport does not work with IIS as the LB due to "Expect: 100-Continue" ESB NIO transport does not work with IIS as the LB due to "Expect: 100-Continue"
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-850
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-850
>             Project: Synapse
>          Issue Type: Bug
>         Environment: Windows , IIS 7 + WebSphere load balance, IBM JDK 6
>            Reporter: Dushan Sachinda Abeyruwan
>            Assignee: dushan abeyruwan
>         Attachments: ServerHandler.java.patch
>
>
> We are setting up ESB to be load balanced with IIS and ESB receives following and then IIS does not sends anything at all and requests time out. 
> Looks like the source of the problems is that IIS sends a HTTP header called "Expect: 100-Continue", and ESB's apache http core library does not understand that. 
> Basically, server suppose to respond to that header, and if not, client does not send any more data. Is there any chance you can disable that header? 
> Following links are for your reference: 
> * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html 
> * haacked.com/archive/2004/05/15/http-web-request-expect-100-continue.aspx 
> Header received is given below 
> POST /services/InformationProxy HTTP/1.1 
> Content-Length: 157 
> Content-Type: text/xml;charset=UTF-8 
> Accept-Encoding: gzip,deflate 
> Host: www-zzz.com.zz 
> User-Agent: Jakarta Commons-HttpClient/3.1 
> SOAPAction: "urn:mediate" 
> $WSIS: false 
> $WSSC: http 
> $WSPR: HTTP/1.1 
> $WSRA: 10.64.212.96 
> $WSRH: 10.64.212.96 
> $WSSN: www-aaaaaa 
> $WSSP: 80 
> Surrogate-Capability: WS-ESI="ESI/1.0+" 
> _WS_HAPRT_WLMVERSION: -1 
> Expect: 100-Continue



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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