Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-02-09
17:14 • Closed ticket [1655078fff]: Hook after socket has been opened plus 6 other c... artifact: b85f6ef40c user: mpc_janssen
2007-02-08
11:33 • New ticket [1655078fff]. artifact: 28a31ee8e0 user: mpc_janssen

Hook after socket has been opened

Closed1655078fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-02-08 11:33:45
Currently the http package provides a proxyfilter callback that will be called to determine if a proxy will be used.
This callback can be used to implement proxy support for the http package as demonstrated by the tcllib autoproxy package.
Because at the time this callback will be called, only the request can be modified (the socket is not opened yet), it is not possible to add challenge response proxy schemes in this way (e.g. NTLM)
If a callback will be provided just after the socket to the proxy has been opened, this will enable the possibility to implement challenge response proxy schemes.
Note that if http/1.1 keepalive support will be added, there might be better ways to include this functionality.
mpc_janssenplain2007-02-09 17:14:28
Logged In: YES 
user_id=1463011
Originator: YES

http/1.1 keepalive support will provide much more elegant means to handle authentication and don't need an additional callback.
Log in (anonymous is fine) to add a comment.