1
0
mirror of https://github.com/lxsang/antd-cgi-plugin synced 2024-12-27 10:28:22 +01:00

add debug info

This commit is contained in:
lxsang 2020-01-05 19:07:24 +01:00
parent 2760f6e18b
commit ef9ad7da51
2 changed files with 5 additions and 1 deletions

6
cgi.c
View File

@ -342,7 +342,11 @@ void *handle(void *data)
} }
beg = 0; beg = 0;
} }
antd_send(cl, sub, count); int cnt = antd_send(cl, sub, count);
if(cnt != count)
{
ERROR("Cannot sent the entire data %d vs %d\n", cnt, count);
}
} }
} }
//kill(pid, SIGKILL); //kill(pid, SIGKILL);

BIN
dist/cgi-1.0.0b.tar.gz vendored

Binary file not shown.