|
@@ -208,6 +208,8 @@ int main(int argc, const char **argv) {
|
|
|
continue;
|
|
continue;
|
|
|
|
|
|
|
|
if (fds[i].revents & POLLIN) {
|
|
if (fds[i].revents & POLLIN) {
|
|
|
|
|
+ size = read(fds[i].fd, buf, REQ_SIZE);
|
|
|
|
|
+
|
|
|
if (!size) {
|
|
if (!size) {
|
|
|
vcc_close_connection(fds[i].fd);
|
|
vcc_close_connection(fds[i].fd);
|
|
|
|
|
|