]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.c
Fix cornercases closing channels.
[meshlink] / src / meshlink.c
index 56da2a045452acf8004b0d0a04cbf1e7e2810ceb..a8ed1fad3d20a0d39db9ad5f9c7a67763d904e6f 100644 (file)
@@ -3904,9 +3904,6 @@ static void channel_poll(struct utcp_connection *connection, size_t len) {
                }
 
                if(sent != (ssize_t)todo) {
-                       /* We should never get a partial send at this point */
-                       assert(sent <= 0);
-
                        /* Sending failed, abort all outstanding AIO buffers and send a poll callback. */
                        if(!aio_abort(mesh, channel, &channel->aio_send)) {
                                return;