Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-150

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1-RC1
    • None
    • None
    • JDK6 on RHEL3.

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asankha Asankha Chamath Perera
            panderson Paul Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment