Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Requests are not being sent to upstream proxy (sometimes). Freezes on baseStream.WriteAsync. This is connection pooling problem. #826

@tonik-ru

Description

@tonik-ru

using a basic setup with upstream proxy and ssl decryption.
and i see that chrome sends request to titanium (BeforeRequest), but it never hits upstream proxy.
this is happening for some requests only. didnt find a pattern yet.
does someone else have such issues?

Update:
it actually freezes in HttpStream.WriteAsync
await baseStream.WriteAsync(data, offset, count, cancellationToken);

it just hangs here forever. in call stack topmost function is TaskFactory.FromAsyncTrim

idk how make a code reproducible example. im using titanium as a proxy for chrome.

Update 2:
this is connection pooling problem. if it disable it, everything works fine.

steps to reproduce:

  1. start proxy
  2. use it from chrome
  3. google something, navigate to google pages.
  4. close chrome
  5. check in "Tasks" for frozen tasks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions