Skip to content

The app hangs when interrupted on reading from client_socket #50

@rexim

Description

@rexim

Somewhere here

;;; request_buffer_size = read(client_socket, request_buffer, REQUEST_BUFFER_CAPACITY)

Reproduction

  1. Request a resource
  2. ^C the app
  3. Repeat 1 and 2 several time to catch the moment. When app doesn't exit on ^C the bug is reproduced
  4. Attach to the process with strace and ensure that the process is stuck on the read call.

Observed

App doesn't exist on ^C

Expected

App exists on ^C clearly

Notes

If during the blocked state on the read call you request the page again, the app exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions