pike.git / lib / modules / Protocols.pmod / HTTP.pmod / Session.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1:   #pike __REAL_VERSION__    - // $Id: Session.pike,v 1.9 2003/03/20 20:05:54 mirar Exp $ + // $Id: Session.pike,v 1.10 2003/03/20 20:09:42 nilsson Exp $      import Protocols.HTTP;      typedef string|Standards.URI|SessionURL URL;      //! The number of redirects to follow, if any.   //! This is the default to the created Request objects.   //!   //! A redirect automatically turns into a GET request,   //! and all header, query, post or put information is dropped.
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:584:   //! Defaults to 10 connections.   int maximum_connections_per_server=10;      //! Maximum total number of connections. Limits only   //! async requests, and the number of kept-alive connections   //! (live connections + kept-alive connections <= this number)   //! Defaults to 50 connections.   int maximum_total_connections=50;      //! Maximum times a connection is reused. - //! Defaults to 1000000. &lt;2 means no reuse at all. + //! Defaults to 1000000. <2 means no reuse at all.   int maximum_connection_reuse=1000000;      // internal (but readable for debug purposes)   mapping(string:array(KeptConnection)) connection_cache=([]);   int connections_kept_n=0;   int connections_inuse_n=0;   mapping(string:int) connections_host_n=([]);      static class KeptConnection   {