diff --git a/cgi.c b/cgi.c index 01099f1..9696e9a 100644 --- a/cgi.c +++ b/cgi.c @@ -342,7 +342,11 @@ void *handle(void *data) } 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); diff --git a/dist/cgi-1.0.0b.tar.gz b/dist/cgi-1.0.0b.tar.gz index 754b04f..cb92eb5 100644 Binary files a/dist/cgi-1.0.0b.tar.gz and b/dist/cgi-1.0.0b.tar.gz differ