Repositories (1)

node-lwan
3 snippets stored for this repo
// // write the response out!!!!
    //strbuf_set_static(response->buffer, testStringToChar, sizeof(testStringToChar) - 1);

    response->mime_type = "text/plain"; //Because fuck it why not! atleast this line has not given me trouble

    // Maybe we should free some things ... hmmm
return HTTP_OK; // ITS NOT OK NOTHING IS FUCKING OK, OK!!!!
currentWebserverInstance->cb = &_cb;  //fucking bullshit static programming environments
    currentWebserverInstance->isolate = isolate; //oh we kind of need to keep track of this aswell.