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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [jira] [Created] (SYNAPSE-850) ... Dushan Sachinda Abeyruwan (Created) (JIRA)

Reply via email to