6 void respond(void *object
, const Request_Info
*request_info
, int socket
)
8 #define put(s) write(socket, s, strlen(s))
10 if (request_info
->query_string_decoded
!= NULL
) {
11 put(request_info
->query_string_decoded
);
14 if (request_info
->tls_client_hash
!= NULL
) {
15 put(request_info
->tls_client_hash
);
20 int main(int argc
, const char **argv
)
22 runSCGI("/tmp/gemscgi_testsocket", respond
, NULL
);