FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix http reuse connections by andrewchernyh · Pull Request #94 · openai/openai-python · GitHub

Fix http reuse connections - #94

Merged
hallacy merged 1 commit into
openai:mainfrom
andrewchernyh:fix-http-reuse
May 19, 2022
Merged

Fix http reuse connections#94
hallacy merged 1 commit into
openai:mainfrom
andrewchernyh:fix-http-reuse

Conversation

andrewchernyh commented May 19, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Fix reusing of HTTP Connection
return while reading lines will close Generator and cause GeneratorExit exception, that will close connection & socket

In this case system will produce TCP RST packet.

Closes #95

hallacy merged commit 4d2cab1 into openai:main May 19, 2022
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
Co-authored-by: andrey@inworld.ai <andrey@inworld.ai>
stainless-app Bot pushed a commit that referenced this pull request Mar 27, 2025
Remove $ from npm install command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP Connection is not reused in stream mode

2 participants


Back | FazBrowse Home | New Git URL