Opened 6 weeks ago

#2618 new defect

HTTP session is finalized early

Reported by: xinyanglbeijing@… Owned by:
Priority: blocker Milestone:
Component: nginx-module Version: 1.22.x
Keywords: HTTP Cc: xinyanglbeijing@…
uname -a: Linux ubuntu1804-dev-server-xinyang 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.22.0

Description

Reproduce conditions:

  1. HTTP POST with big data. It needs several write-socket operations.
  2. HTTP response is received before the whole HTTP content is sent out.

Current behavior:
The HTTP session will be finalized before the HTTP request is sent out completely.

Expected behavior:
Nginx should not stop sending the HTTP request payload until all HTTP payload is delivered to the backend server, even if a response is received early.

Change History (0)

Note: See TracTickets for help on using tickets.