Welcome! Log In Create A New Profile

Advanced

PUT leads to reading blocked

December 19, 2022 02:02PM
I'm developing a new module using the latest github nginx source on Centos 8. I occasionally see `reading blocked` when handling NGX_HTTP_PUT (log extract below) and the client application hangs. My code is almost verbatim what's in this example:
http://nginx.org/en/docs/dev/development_guide.html#http_request_body

Is this a known issue or is there a typical implementation pattern that leads to this problem?
```
2022/12/17 06:43:53 [debug] 27492#0: *4 http finalize request: 0, "/share1/?details" a:1, c:2
2022/12/17 06:43:53 [debug] 27492#0: *4 http request count:2 blk:0
2022/12/17 06:43:53 [debug] 27492#0: timer delta: 54
2022/12/17 06:43:53 [debug] 27492#0: worker cycle
2022/12/17 06:43:53 [debug] 27492#0: epoll timer: -1
2022/12/17 06:43:53 [debug] 27492#0: epoll: fd:16 ev:2001 d:00007F3C9005D390
2022/12/17 06:43:53 [debug] 27492#0: *4 http run request: "/share1/?details"
2022/12/17 06:43:53 [debug] 27492#0: *4 http reading blocked
2022/12/17 06:43:53 [debug] 27492#0: timer delta: 57
2022/12/17 06:43:53 [debug] 27492#0: worker cycle
2022/12/17 06:43:53 [debug] 27492#0: epoll timer: -1
```
Subject Author Posted

PUT leads to reading blocked

amw1900 December 19, 2022 02:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready