nickva commented on PR #4729: URL: https://github.com/apache/couchdb/pull/4729#issuecomment-1686478247
In principle at least the experimental `socket` module does allow `peek`-ing with `recv` since OTP 24.0: https://www.erlang.org/doc/man/socket#type-msg_flag > ``` msg_flag() = cmsg_cloexec | confirm | ctrunc | dontroute | eor | errqueue | more | oob | peek | trunc ``` But we can't use socket for non-socket connections and it might be a while if/until mochiweb starts using that module. Especially since in some cases `socket` has been performing as well as the old `inet` driver. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
