mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-03 23:48:22 +00:00
removed setjmp code
This commit is contained in:
@@ -1370,7 +1370,7 @@ int uwsgi_start(void *v_argv) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (cst.st_size != uwsgi.cache_filesize || !S_ISREG(cst.st_mode)) {
|
||||
if ((size_t)cst.st_size != uwsgi.cache_filesize || !S_ISREG(cst.st_mode)) {
|
||||
uwsgi_log("invalid cache store file. Please remove it or fix cache blocksize/items to match its size\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -66,9 +66,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include <netinet/in.h>
|
||||
#ifdef UWSGI_ASYNC
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
|
||||
#ifdef __sun__
|
||||
#define _XPG4_2
|
||||
@@ -678,7 +675,6 @@ struct wsgi_request {
|
||||
int async_plagued;
|
||||
|
||||
int suspended;
|
||||
jmp_buf async_jmp_buf;
|
||||
|
||||
int *ovector;
|
||||
size_t post_cl;
|
||||
@@ -968,8 +964,6 @@ struct uwsgi_server {
|
||||
|
||||
struct wsgi_request *(*current_wsgi_req) (void);
|
||||
|
||||
jmp_buf async_jmp_buf;
|
||||
|
||||
// usedby suspend/resume loops
|
||||
void (*schedule_to_main) (struct wsgi_request *);
|
||||
void (*schedule_to_req) (void);
|
||||
|
||||
Reference in New Issue
Block a user