first destructive commit for uWSGI 0.9.8

This commit is contained in:
roberto@natty32
2011-04-16 19:41:58 +02:00
parent 1400a95cec
commit 09ee97e775
21 changed files with 724 additions and 229 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ int uwsgi_request(struct wsgi_request *wsgi_req) {
char *http = "HTTP/1.1 200 Ok\r\nContent-type: text/html\r\n\r\n<h1>Hello World</h1>";
wsgi_req->response_size += write(wsgi_req->poll.fd, http, strlen(http));
wsgi_req->response_size += wsgi_req->socket_proto_write(wsgi_req, http, strlen(http));
return 0;
}