Skip to content

Instantly share code, notes, and snippets.

@xse
Created October 19, 2019 23:02
Show Gist options
  • Save xse/eb08b43dddbaac300e92b7bfd3f1711b to your computer and use it in GitHub Desktop.
Save xse/eb08b43dddbaac300e92b7bfd3f1711b to your computer and use it in GitHub Desktop.
with verbose libcurl
xse@krkrkr ~/kcgi (git)-[master] % ./regress/test-fcgi-header
:(
* Trying ::1:17123...
* TCP_NODELAY set
* connect to ::1 port 17123 failed: Connection refused
* Trying 127.0.0.1:17123...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 17123 (#0)
> GET / HTTP/1.1
Host: localhost:17123
Accept: */*
Testing:123
Testing-Test:321
child.c:1197: RFC violation: REMOTE_ADDR not set
child.c:1223: RFC violation: SERVER_PORT not set
* Received HTTP/0.9 when not allowed
* Closing connection 0
fcgi.c:677: fcgi_waitread: exit request
child.c:2039: FastCGI: worker termination
1 xse@krkrkr ~/kcgi (git)-[master] %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment