[erlang-questions] Re: ssl and {active, once} - bug?
Ingela Andin
ingela@REDACTED
Mon Apr 19 15:34:47 CEST 2010
Hi!
We recently accepted a patch for http packet mode e.i:
http://github.com/erlang/otp/commit/12da3796463c7d02999985ae15e98dcaa4d2bdb4
Do you have that patch? The offical ssl-release ssl-3.11 where this
patch has been
included is not yet released other then to git-repository.
Regards Ingela Erlang/OTP team, Ericsson AB
2010/4/19 Roberto Ostinelli <roberto@REDACTED>:
> this is the sequence of the first messages received by the controlling
> process in a SSL socket [new implementation] when {active, once} is
> used, and a browser performs a request:
>
> {ssl,{sslsocket,new_ssl,<0.51.0>},
> {http_request,'GET',{abs_path,"/"},{1,1}}}
> {ssl,{sslsocket,new_ssl,<0.51.0>},
> {http_error,"Host: localhost:8080\r\n"}}
> {ssl,{sslsocket,new_ssl,<0.51.0>},
> {http_error,"User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X
> 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3\r\n"}}
> {ssl,{sslsocket,new_ssl,<0.51.0>},
> {http_error,"Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n"}}
> ...
>
> therefore it seems that all incoming headers are actually treated as
> 'http_error' instead of 'http_header'.
>
> is this intentional, something i am unaware of re the ssl modality, a
> bug, a mis-configuration, ...?
>
> thank you in advance for any help.
>
> r.
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>
More information about the erlang-questions
mailing list