Merge lp:~chtsanti/squid/connection_pinning into lp:squid/v4

Proposed by Christos Tsantilas
Status: Needs review
Proposed branch: lp:~chtsanti/squid/connection_pinning
Merge into: lp:squid/v4
To merge this branch: bzr merge lp:~chtsanti/squid/connection_pinning
To post a comment you must log in.
8993. By Christos Tsantilas

ConnStateData::pinConnection:
   - Convert LOCAL_ARRAY (static array) declaration to a local stack array
   - Remove host and port local variables, does not really needed ...

ConnStateData::getPinnedConnection:
   -Pass the reference of the auth parameter not the pointer

Other minor changes

8994. By Christos Tsantilas

ConnStateData::getPinnedInfo:
   - Pass the reference of "peer" parameter not a pointer on it

8995. By Christos Tsantilas

  ConnStateData::getPinnedInfo:
     - Pass the reference of "peer" parameter not a pointer on it

8996. By Christos Tsantilas

Add some documentation

8997. By Christos Tsantilas

merge from trunk

8998. By Christos Tsantilas

Merge from trunk

8999. By Christos Tsantilas

Print info about connection pinning in dump_peer_options

9000. By Christos Tsantilas

Add some documentation about Proxy-Support headers

9001. By Christos Tsantilas

- Move cleanup of pinning data from ConnStateData destructor to swanSong

- convert some debug to debugs statements

- Add the setPinnedConnection, pinnedConnection and
releasePinnedConnection methods to the HttpRequest class and use them to
set/get/release pinned data instead of directly access the related class
members

- cbdataReferenceDone also sets sto NULL the cbdata so there is not any
reason for the somecbdata=NULL statements used

- Add the virtual method inheritProperties in HttpMsg and implement it
for HttpReply and HttpRequest and remove the
inheritVirginReplyProperties and inheritVirginProperties from
IcapModXact class

- rename the http_port_list::no_connection_auth and
request_flags::no_connection_auth tp *::connection_auth_disable

- Polish documentation about Connection:Proxy-Support header

- Other minor fixes

9002. By Christos Tsantilas

Document the HttpRequest::pinned_connection member

9003. By Christos Tsantilas

- Convert the clientPinnedConnectionClosed close handler to the
ConnStateData::clientPinnedConnectionClosed comm call
- Add the ConnStateData::pinning::closeHandler which holds the comm call
close handler of pinning.fd to allow as cancel its execution if required

9004. By Christos Tsantilas

emove the methods ConnStateData::getPinnedInfo and
ConnStateData::getPinnedConnection and replace them with:
- validatePinnedConnection which checks if the pinning info is valid and
if not, remove any pinning info and closes the pinning peer,
- unpinConnection which removes any pinning info
- pinnedPeer which returns the pinning peer
- pinnedAuth which returns true if the pinned connewction is a web
server authenticated connection

9005. By Christos Tsantilas

- Convert the http_port parameter no-connection-auth to
connection-auth=[on|off].
- Also this parameter was not actually working

9006. By Christos Tsantilas

The ConnStateData::pinnedAuth should return bool

Unmerged revisions

9006. By Christos Tsantilas

The ConnStateData::pinnedAuth should return bool

9005. By Christos Tsantilas

- Convert the http_port parameter no-connection-auth to
connection-auth=[on|off].
- Also this parameter was not actually working

9004. By Christos Tsantilas

emove the methods ConnStateData::getPinnedInfo and
ConnStateData::getPinnedConnection and replace them with:
- validatePinnedConnection which checks if the pinning info is valid and
if not, remove any pinning info and closes the pinning peer,
- unpinConnection which removes any pinning info
- pinnedPeer which returns the pinning peer
- pinnedAuth which returns true if the pinned connewction is a web
server authenticated connection

9003. By Christos Tsantilas

- Convert the clientPinnedConnectionClosed close handler to the
ConnStateData::clientPinnedConnectionClosed comm call
- Add the ConnStateData::pinning::closeHandler which holds the comm call
close handler of pinning.fd to allow as cancel its execution if required

9002. By Christos Tsantilas

Document the HttpRequest::pinned_connection member

9001. By Christos Tsantilas

- Move cleanup of pinning data from ConnStateData destructor to swanSong

- convert some debug to debugs statements

- Add the setPinnedConnection, pinnedConnection and
releasePinnedConnection methods to the HttpRequest class and use them to
set/get/release pinned data instead of directly access the related class
members

- cbdataReferenceDone also sets sto NULL the cbdata so there is not any
reason for the somecbdata=NULL statements used

- Add the virtual method inheritProperties in HttpMsg and implement it
for HttpReply and HttpRequest and remove the
inheritVirginReplyProperties and inheritVirginProperties from
IcapModXact class

- rename the http_port_list::no_connection_auth and
request_flags::no_connection_auth tp *::connection_auth_disable

- Polish documentation about Connection:Proxy-Support header

- Other minor fixes

9000. By Christos Tsantilas

Add some documentation about Proxy-Support headers

8999. By Christos Tsantilas

Print info about connection pinning in dump_peer_options

8998. By Christos Tsantilas

Merge from trunk

8997. By Christos Tsantilas

merge from trunk

Subscribers

People subscribed via source and target branches

to all changes: