Project

General

Profile

Actions

Bug #13567

open

Dedicated session asio read edge-case

Added by Matthias Van Ceulebroeck about 1 month ago. Updated 18 days ago.

Status:
Implemented @Test
Priority:
Normal
Target version:
Start date:
02/24/2025
Due date:
% Done:

100%

Estimated time:

Description

In a very limited number of cases, the SessionProcess::read() will result in a segfault, as the process will have already quit.
This can be visible in requests that take a very short time to fulfill (e.g. static resources).

The read() itself, which is called from the readHandler() is called prematurely, with a requestStop() interleaved.
Leading to the operation being called on a just closed socket.

Actions #1

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from InProgress to Review
  • Assignee deleted (Matthias Van Ceulebroeck)
Actions #2

Updated by Marnik Roosen about 1 month ago

  • Assignee set to Marnik Roosen
Actions #3

Updated by Marnik Roosen about 1 month ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Marnik Roosen to Matthias Van Ceulebroeck
  • % Done changed from 0 to 100
Actions #4

Updated by Matthias Van Ceulebroeck 18 days ago

  • Status changed from Implemented @Emweb to Implemented @Test
Actions

Also available in: Atom PDF