Chengwei Ouyang

Results 2 comments of Chengwei Ouyang

Yes, setting a timeout can solve this problem, but this always requires waiting until the timeout, rather than throwing an exception when an error occurs, which will cause confusion and...

> I fixed it by changing the httpcore package source file timeout here: File: /httpcore/_async/http11.py - Line 203 ` event = await self._receive_event(timeout=timeout)` > > Change it to any float...