5 void respond(void *object
, const Request_Info
*request_info
, int socket
)
7 #define put(s) write(socket, s, strlen(s))
9 if (request_info
->query_string_decoded
!= NULL
) {
10 put(request_info
->query_string_decoded
);
13 if (request_info
->tls_client_hash
!= NULL
) {
14 put(request_info
->tls_client_hash
);
19 int main(int argc
, const char **argv
)
21 runSCGI("/tmp/gemscgi_testsocket", respond
, NULL
);