Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Random 502 cgi gateway error when response 304 then flush response #219

@303248153

Description

@303248153

First I found this problem with my project, sometime static files will return 502 with cgi gateway error.
Today I do a diggup, to reproduce this problem you needs:

  • Host asp.net core application on IIS, if you run with kestrel only, this problem won't happen.
  • Response 304, only 304 cause this problem.
  • Explict flush the response
  • Do the request parallel

I uploaded a minimal reproduce project, please check it.
It maybe a thread race condition problem because only parallel request will cause this problem.
WebApplication1.zip

I don't known if it's same with other 502.3 issues,
and I already using asp.net core 1.0.0 as you can see in the project.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions