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

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

@Tratcher

Description

@Tratcher

From @303248153 on July 2, 2016 22:58

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.

Copied from original issue: aspnet/IISIntegration#219

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions