[twsocket] Is it safe to use one SSL context object for many requests?

2012-11-30 Thread Albert Wiersch
Is it safe to create one TSslContext context object and use it for multiple requests, even multiple async requests running at the same time? Thanks, Albert Wiersch -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/t

Re: [twsocket] HTTP relocation

2012-11-30 Thread Stan
RFC says that Location can contain only absolute URI. Wikipedia say, that some software allows for relative URIs, but in that case they must start from leading slash. So the response of the given server seems incorrect. So http client may handle such malform relocations using its arbitrary custom

[twsocket] HTTP relocation

2012-11-30 Thread Angus Robertson - Magenta Systems Ltd
= Connected to: www.cytauk.com > GET / HTTP/1.0 > Host: www.cytauk.com < HTTP/1.1 302 Moved Temporarily < Location: ./cytauk2/ = Connected to: www.cytauk.com > GET /./cytauk2/ HTTP/1.0 > Host: www.cytauk.com < HTTP/1.1 404 Not Found Firefox seems to redirect to www.cytauk.com/cytauk2/ ignoring the