diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-08-20 12:12:42 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-20 12:12:42 -0700 |
| commit | 474a1f57caa2935d676f646b43f6142880517b82 (patch) | |
| tree | 0b45db3ee59d0c4441e66988852e0e0c2f559b67 /src/supplemental/http | |
| parent | c72bd53e2c5b4bc7207bfa1710ccff47655a099a (diff) | |
| download | nng-474a1f57caa2935d676f646b43f6142880517b82.tar.gz nng-474a1f57caa2935d676f646b43f6142880517b82.tar.bz2 nng-474a1f57caa2935d676f646b43f6142880517b82.zip | |
fixes #232 Add cancellation support to HTTP handler API
Well, actually, #506 fixed that, but this fixes the commentary
that indicates otherwise in the code.
Diffstat (limited to 'src/supplemental/http')
| -rw-r--r-- | src/supplemental/http/http_server.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/supplemental/http/http_server.c b/src/supplemental/http/http_server.c index a72817b3..f36c941d 100644 --- a/src/supplemental/http/http_server.c +++ b/src/supplemental/http/http_server.c @@ -598,9 +598,7 @@ http_sconn_rxdone(void *arg) nni_aio_set_input(sc->cbaio, 1, h); nni_aio_set_input(sc->cbaio, 2, sc->conn); - // Technically, probably callback should initialize this with - // start, but we do it instead. - // This operation cannot at present canceled or timed out. + // Documented that we call this on behalf of the callback. if (nni_aio_begin(sc->cbaio) != 0) { nni_mtx_unlock(&s->mtx); return; |
