yesoce / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

Error with ssl tunnel over proxy with KeepAlive off and Basic authentication #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup a proxy server with Basic authentication, and KeepAlive Off.
2. Use serf_get to connect to a https server through your proxy

What is the expected output? What do you see instead?
Serf returns an error SERF_ERROR_SSLTUNNEL_SETUP_FAILED. What we see is that 
the ssl tunnel setup succeeds, that the ssl handshake with the server succeeds, 
and that after the first response from the server the error is returned.

This issue was reported on the subversion mailing list here:
http://svn.haxx.se/users/archive-2013-08/0033.shtml

It can be reproduced with serf trunk @2115.

Original issue reported on code.google.com by lieven.govaerts@gmail.com on 9 Aug 2013 at 4:01

GoogleCodeExporter commented 9 years ago
The actual apache proxy used to reproduce:

<VirtualHost *:8080>
  ServerName "lgo-ubuntu1"
  MaxKeepAliveRequests 100
  ProxyRequests On
  ProxyVia On

  KeepAlive Off

  <Proxy *>
     Order deny,allow
     Deny from all
     Allow from all

     Require valid-user
     AuthType Basic
     AuthName "Ubuntu lgo proxy realm"
     AuthUserFile /home/lgo/dev/svn/basicpwd
     AuthBasicAuthoritative On
     AuthBasicProvider file
</Proxy>
</VirtualHost>

(it's a test config so never mind the 'Deny/Allow from all' lines)

Original comment by lieven.govaerts@gmail.com on 9 Aug 2013 at 4:06

GoogleCodeExporter commented 9 years ago
I believe this issue is fixed with r2122.

Original comment by lieven.govaerts@gmail.com on 9 Aug 2013 at 6:10