mail-proxy, ssl and line termination

Igor Grabin dem0n at ntn.tv
Fri Oct 26 04:55:33 UTC 2012


On Thu, Oct 25, 2012 at 02:25:49PM +0400, Maxim Dounin wrote:
> > > The "2 select ..." is not something nginx sent by itself, it's
> > > client data it forwarded.  You may take a look at a client you use
> > > instead.
> > both testcases produced by me, using plain linux telnet and plain
> > linux openssl s_client.
> So the difference observed more or less comes from telnet vs. 
> openssl s_client.  Try "openssl s_client -crlf" instead, quote 
> from man s_client:
[...skip...]

> The CRLF is correctly sent in the "LOGIN" command as it's sent by 
> nginx itself.
> In case of telnet you don't get bare LF as it does LF -> CRLF 
> conversion by default.  I would recommend nc (aka netcat) if you 
> need raw tcp client without any conversions.

my lame. thanks. :-)

-- 
Igor "CacoDem0n" Grabin, http://violent.death.kiev.ua/



More information about the nginx mailing list