Hi,

ResolvePortNumber in ssfpc.inc returns the port number in network byte order
while the same function in sslinux.inc and sswin32.inc return the port in
host byte order. The resulting problem occurs in HTTPSend when using a https
proxy. TTCPBlockSocketHTTPTunnelDoConnect will send a CONNECT request to the
wrong port. Attached is a patch that changes the byte order in
ResolvePortNumber. 

Cheers, Ludo

Attachment: ssfpc.diff
Description: Binary data

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to