[squid-dev] [PATCH] switch session/connection for OpenSSL

Amos Jeffries squid3 at treenet.co.nz
Wed Apr 26 12:53:25 UTC 2017


Been digging around in library guts and yes you were right Alex - for 
OpenSSL and the very old ones based on SSL protocol. Just not for the 
other N libraries based on TLS design which I/we hope to support. There 
is structural difference between the two protocols layering and activities.


I'm labeling the patch revert, but it is not a true revert as that would 
unwind much other progress and bug fixes. It is more a rename of most 
'session' to 'connection' for the Pointer type and text surrounding the 
changed variables. With a split of the session and connection API 
functionality into separate files along the lines of how Session and 
Context are currently split.

NP: passes 'make check', and some few basic https:// fetches (to server 
only) respond okay.


I did track down why the previous patch code was broken. It turns out my 
available OpenSSL libraries (both 1.0 and 1.1) require the hacks (#if 
case for 1.0, or the #elif case for 1.1) - the broken #else case code 
never compiles here.


Amos

-------------- next part --------------
A non-text attachment was scrubbed...
Name: session_revert_mk1.patch
Type: text/x-patch
Size: 100706 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20170427/bcda4486/attachment-0001.bin>


More information about the squid-dev mailing list