revert assert check for pollable socket
@@ -1744,7 +1744,6 @@ updatePollHandle(neat_ctx *ctx, neat_flow *flow, uv_poll_t *handle)
neat_log(ctx, NEAT_LOG_DEBUG, "%s", __func__);
assert(handle);
- assert(handle->data);
pollable_socket = handle->data;
#ifdef SCTP_MULTISTREAMING
@@ -1816,7 +1815,7 @@ updatePollHandle(neat_ctx *ctx, neat_flow *flow, uv_poll_t *handle)
}
#ifdef SCTP_MULTISTREAMING
- if (pollable_socket->multistream == 1) {
+ if (pollable_socket && pollable_socket->multistream == 1) {
flow = LIST_NEXT(flow, multistream_next_flow);
neat_log(ctx, NEAT_LOG_DEBUG, "%s - next multistream flow : %p", __func__, flow);
}
