Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## 1.0.2 (November 10th, 2023)
## 1.0.3 (November 22th, 2023)
Comment thread
karpetrosyan marked this conversation as resolved.
Outdated

- Fix copy paste bug with socks proxy and tracing. (#849)
Comment thread
lovelydinosaur marked this conversation as resolved.
Outdated

## 1.0.2 (November 10th, 2023)

- Fix `float("inf")` timeouts in `Event.wait` function. (#846)

Expand Down
2 changes: 1 addition & 1 deletion httpcore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(self, *args, **kwargs): # type: ignore
"WriteError",
]

__version__ = "1.0.2"
__version__ = "1.0.3"
Comment thread
karpetrosyan marked this conversation as resolved.
Outdated


__locals = locals()
Expand Down
4 changes: 2 additions & 2 deletions httpcore/_async/socks_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async def handle_async_request(self, request: Request) -> Response:
"port": self._proxy_origin.port,
"timeout": timeout,
}
with Trace("connect_tcp", logger, request, kwargs) as trace:
async with Trace("connect_tcp", logger, request, kwargs) as trace:
stream = await self._network_backend.connect_tcp(**kwargs)
trace.return_value = stream

Expand All @@ -239,7 +239,7 @@ async def handle_async_request(self, request: Request) -> Response:
"port": self._remote_origin.port,
"auth": self._proxy_auth,
}
with Trace(
async with Trace(
"setup_socks5_connection", logger, request, kwargs
) as trace:
await _init_socks5_connection(**kwargs)
Expand Down