You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@asvetlov I described my issue/use-case in #3881, but I'll summarize it here:
I'm pulling data from web services that don't provide response content-length and doesn't not have explicit EOF character. Under high concurrent network load, I'm seeing await read() returns partial data sometimes. I suspect that it catches its internal buffer empty and terminates prematurely. (Is this even possible? Let me know if I'm making bad assumptions here)
readuntil allows me to seek an explicit end-of-stream indicator if known and make aiohttp more reliable
Should be mimic to
asyncio.StreamReader
counterpart: https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamReader.readuntilThe text was updated successfully, but these errors were encountered: