[Koha-bugs] [Bug 12620] Proxy Add-on for Koha z39.50/SRU servers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 8 08:48:42 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12620

--- Comment #12 from David Cook <dcook at prosentient.com.au> ---
Actually for readability we could change
'connect:squid:3128,tcp:lx2.loc.gov:210' to
'connect:squid:3128,lx2.loc.gov:210'.

To get this working for Koha...

We would need to change our syntax in C4::Breeding::_create_connection to use
'$obj->connect($host)' instead of '$obj->connect( $server->{host},
$server->{port} )'.

We would also need some way to specify the HTTP Proxy. 

Option 1:
Add a http_proxy field (or http_proxy_hostname and http_proxy_port fields) to
the z3950servers table. 

Option 2:
Specify a http_proxy in the koha-conf.xml. 

This might be a better option, since it's more centralized. Plus, there might
be other parts of Koha that would benefit from being able to go through a HTTP
proxy. (For example OverDrive integration?)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list