Branch: Tag:

2007-11-15

2007-11-15 02:24:01 by Stephen R. van den Berg <srb@cuci.nl>

https sessions didn't use encryption

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1.17

1:   #pike __REAL_VERSION__    - // $Id: Session.pike,v 1.16 2004/06/08 15:07:13 vida Exp $ + // $Id: Session.pike,v 1.17 2007/11/15 02:24:01 srb Exp $      import Protocols.HTTP;   
59:      // ----------------    -  int(0..1) con_https; // internal flag -  +    //! Prepares the HTTP Query object for the connection,   //! and returns the parameters to use with @[do_sync],   //! @[do_async] or @[do_thread].
84: Inside #if constant(SSL.sslfile)
   "protocols than HTTP or HTTPS\n",    url->scheme);    -  con_https= (url->scheme=="https")? 1 : 0; +  if(!con) con=give_me_connection(url_requested); +  con->https= (url->scheme=="https")? 1 : 0;   #else    if(url->scheme!="http" )    error("Protocols.HTTP can't handle %O or any other "