httpcore icon indicating copy to clipboard operation
httpcore copied to clipboard

Keep sock original timeout, If read,write timeout not set

Open iamdrq opened this issue 1 year ago • 0 comments

Summary

In httpcore/_backends/sync.py, when not set timeout. It will override original sock timeout setting,this patch fixed it.

Checklist

  • [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [ ] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [ ] I've updated the documentation accordingly.

iamdrq avatar Jan 05 '24 08:01 iamdrq