4 ms·
I assume there are some clever gdb hacks out there to swap any http fd with another.
by est 3y ago
I assume there are some clever gdb hacks out there to swap any http fd with another.
- chatmasta 3y agoNot exactly what you mentioned, but you can do some fun tricks with https://github.com/cloudflare/tubular https://github.com/cloudflare/tubular
- agwa 3y agoAn LD_PRELOAD library would probably work. I wrote one which can make servers listen on UNIX domain sockets (https://github.com/AGWA/ldpreload#ldpreload-unixbindso https://github.com/AGWA/ldpreload#ldpreload-unixbindso) which would be a good starting point.
- est 3y agothat's awesome I saw a similar hack https://tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#libkeepalive https://tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#libk...