Skip to content

Commit

Permalink
net: handle new WRITE_ASYNC2 in main as well
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jun 25, 2019
1 parent bc94237 commit d27a802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/net_tcp.c
Expand Up @@ -1474,6 +1474,7 @@ inline static int handle_worker(struct process_table* p, int fd_i)
tcpconn->flags&=~F_CONN_REMOVED_WRITE;
break;
case ASYNC_WRITE:
case ASYNC_WRITE2:
if (tcpconn->state==S_CONN_BAD){
tcpconn->lifetime=0;
break;
Expand Down

0 comments on commit d27a802

Please sign in to comment.