the routes file:
*,proto=http,ssl=no,path_beg=/sse 172.18.0.5:80
Client calls pushpin and requests /sse, pushpin, calls 172.18.0.5 in turn.
172.18.0.5/sse responds with grip-link header set to <http://192.168.2.45/s.php>[…]
172.18.0.5/sse:
[…]
grip-hold: stream
grip-channel: channel_123
grip-channel: channel_777
grip-link: <http://192.168.2.45/s.php>; rel=next; timeout=3
[…]
Pushpin follows grip-link: and calls 192.168.2.45 requesting /s.php.
192.168.2.45 log shows the first and only request from pushpin:
"GET /s.php HTTP/1.1" 200 14 "-" "-" "-"
http://192.168.2.45/s.php response also includes grip-link header set to <http://192.168.2.45/s.php>[…] (same URL).
grip-link: <http://192.168.2.45/s.php>; rel=next; timeout=5
Grip-Hold: stream
Pushpin sends subsequent /s.php requests to 172.18.0.5 instead of 192.168.2.45, as instructed by grip-link.
172.18.0.5 log:
"GET /sse HTTP/1.1" 200 15 "-" "curl/8.12.1"
"GET /s.php HTTP/1.1" 404 153 "-" "-"
"GET /s.php HTTP/1.1" 404 153 "-" "-"
"GET /s.php HTTP/1.1" 404 153 "-" "-"
"GET /s.php HTTP/1.1" 404 153 "-" "-"
"GET /s.php HTTP/1.1" 404 153 "-" "-"
"GET /s.php HTTP/1.1" 404 153 "-" "-"
Pushpin was built from pushpin-1.41.0.tar.bz2 tarball.
the
routesfile:Client calls pushpin and requests
/sse, pushpin, calls172.18.0.5in turn.172.18.0.5/sseresponds withgrip-linkheader set to<http://192.168.2.45/s.php>[…]172.18.0.5/sse:Pushpin follows
grip-link: and calls192.168.2.45requesting/s.php.192.168.2.45log shows the first and only request from pushpin:http://192.168.2.45/s.phpresponse also includesgrip-linkheader set to<http://192.168.2.45/s.php>[…](same URL).Pushpin sends subsequent
/s.phprequests to172.18.0.5instead of192.168.2.45, as instructed bygrip-link.172.18.0.5log:Pushpin was built from
pushpin-1.41.0.tar.bz2tarball.