Message260558
Thanks for the fast response!
There is a paragraph right at the end of <https://docs.python.org/3/library/socketserver.html#server-creation-notes> that mentions this technique: “. . . maintain an explicit table of partially finished requests . . .”. Perhaps that is the suggestion that you couldn’t find before.
I once wrote an RTSP proxy that uses a related technique. It still handles each high-level RSTP request or RTP packet synchronously, but uses the “selectors” module to switch between the various connections and listening sockets after each high-level request had been handled. Code at <https://repo.or.cz/python-iview.git/blob/refs/heads/rtsp:/iview/utils.py#l318>.
Do you want to propose some specific additions or a patch to the documentation? |
|
Date |
User |
Action |
Args |
2016-02-20 04:49:16 | martin.panter | set | recipients:
+ martin.panter, shevek, docs@python, BreamoreBoy |
2016-02-20 04:49:16 | martin.panter | set | messageid: <1455943756.15.0.683571618612.issue13354@psf.upfronthosting.co.za> |
2016-02-20 04:49:16 | martin.panter | link | issue13354 messages |
2016-02-20 04:49:15 | martin.panter | create | |
|