File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ static int tcp_read_eof(void *data) {
173173 __wasilibc_future_block_on (sockets_future_result_void_error_code_read (
174174 state -> receive_result , & result ),
175175 state -> receive_result );
176+ sockets_future_result_void_error_code_drop_readable (state -> receive_result );
176177 state -> receive_result = 0 ;
177178 if (result .is_err )
178179 return __wasilibc_socket_error_to_errno (& result .val .err );
@@ -214,6 +215,7 @@ static int tcp_write_eof(void *data) {
214215 __wasilibc_future_block_on (
215216 sockets_future_result_void_error_code_read (state -> send_result , & result ),
216217 state -> send_result );
218+ sockets_future_result_void_error_code_drop_readable (state -> send_result );
217219 state -> send_result = 0 ;
218220 if (result .is_err )
219221 return __wasilibc_socket_error_to_errno (& result .val .err );
You can’t perform that action at this time.
0 commit comments