snichol     2002/08/01 11:16:48

  Modified:    java/src/org/apache/soap/util/net SSLUtils.java
  Log:
  Submitted by: Simon Fell <[EMAIL PROTECTED]>
  
  Terminate all SSL proxy headers with CR/LF, not just LF.
  
  Revision  Changes    Path
  1.6       +3 -3      xml-soap/java/src/org/apache/soap/util/net/SSLUtils.java
  
  Index: SSLUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/util/net/SSLUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SSLUtils.java     1 Aug 2002 03:07:32 -0000       1.5
  +++ SSLUtils.java     1 Aug 2002 18:16:48 -0000       1.6
  @@ -149,7 +149,7 @@
                         {
                                // Autherization not required
                         
  -                     msg = "CONNECT " + host + ":" + port + " HTTP/1.0\n"
  +                     msg = "CONNECT " + host + ":" + port + " HTTP/1.0\r\n"
                                  + "User-Agent: "
                                  + 
sun.net.www.protocol.http.HttpURLConnection.userAgent
                                  + "\r\n\r\n";
  @@ -157,8 +157,8 @@
                  else
                  {
                        // need to specify an authorization string in http header
  -                     msg = "CONNECT " + host + ":" + port + " HTTP/1.0\n"
  -                                                     + "Proxy-Authorization: " + 
proxyAuth + "\n"
  +                     msg = "CONNECT " + host + ":" + port + " HTTP/1.0\r\n"
  +                                                     + "Proxy-Authorization: " + 
proxyAuth + "\r\n"
                          + "User-Agent: "
                          + sun.net.www.protocol.http.HttpURLConnection.userAgent
                          + "\r\n\r\n";
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to