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

Paul Anderson commented on SYNAPSE-150:
---------------------------------------

I enabled SSL debug. When I post over SSL from Java, in the logs after the 
dumped outgoing message I see:-

I/O dispatcher 6, WRITE: TLSv1 Application Data, length = 262
I/O dispatcher 6, WRITE: TLSv1 Application Data, length = 125
I/O dispatcher 6, WRITE: TLSv1 Application Data, length = 5

All is well - http headers and POX reply.

When I post over SSL with PHP, there's a difference - the log looks like this 
after the dumped outgoing message:-
I/O dispatcher 8, WRITE: TLSv1 Application Data, length = 229
I/O dispatcher 8, called closeOutbound()
I/O dispatcher 8, closeOutboundInternal()
I/O dispatcher 8, SEND TLSv1 ALERT:  warning, description = close_notify
I/O dispatcher 8, WRITE: TLSv1 Alert, length = 32
I/O dispatcher 8, READ: TLSv1 Alert, length = 32
I/O dispatcher 8, RECV TLSv1 ALERT:  warning, close_notify
I/O dispatcher 8, closeInboundInternal()
I/O dispatcher 8, closeOutboundInternal()

So it seems Synapse sends the headers and then cuts the connection?

> SSL returns headers but no response XML for POX POST from PHP. From Java, OK. 
> http POST from PHP, OK. SSL POST from PHP to Tomcat, OK
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-150
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-150
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: JDK6 on RHEL3.
>            Reporter: Paul Anderson
>            Assignee: Upul Godage
>
> When I use PHP to POST an http 1.0 POX request to Synapse by SSL, Synapse 
> replies with http response code and headers only, and then closes the 
> connection. No XML  is returned.
> Exactly the same PHP POST with plain http receives the XML.
> A Java command line SSL POST receives the XML.
> And PHP POSTing the data to a Tomcat JSP page over SSL works fine - it simply 
> receives HTML instead of XML.
> Seems to be something in the Synapse SSL code that is doing the wrong thing, 
> and silently.
> I tried setting non-blocking to false - no difference.

-- 
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