[naviserver-devel] revproxy callback setup

2017-04-10 Thread David Osborne
Hi, While testing the revproxy code I coming across the occasional error like the following: connchan "conn237" does not exist while executing "ns_connchan callback -timeout $timeout $frontendChan [list spool $frontendChan $backendChan client $timeout 0 ] rex" Seems like sometime

Re: [naviserver-devel] revproxy callback setup

2017-04-10 Thread David Osborne
This had a knock-on effect meaning the timeout stopped functioning for me. The order change is changing which callback is timing out first and backendReply was triggered. It doesn't deal with the timeout properly, it just immediately starts trying to read from the backend chan. So adding timeout