Socket timeout error when uploading file more than 16kb
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 944
- Forks
- 440
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 6
Description
File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 377, in read
data = self.rfile.read(size)
File "/usr/lib/python3.6/site-packages/cheroot/makefile.py", line 431, in read
val = self._safe_call(True, super().read, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/cheroot/ssl/pyopenssl.py", line 131, in _safe_call
raise socket.timeout('timed out')
socket.timeout: timed out
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing an upload larger than 16 KB and trace the read path shown in cheroot/server.py, cheroot/makefile.py, and cheroot/ssl/pyopenssl.py. Determine why the socket timeout occurs during the upload and verify the behavior with a focused regression test or reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100