libwww-perl / libwww-perl/HTTP-Daemon

HTTP::Daemon does not send header information to client when not using $c->get_request before [rt.cpan.org #59238]

Open
#10 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
6
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Migrated from rt.cpan.org#59238 (status was 'new')

Requestors:

  • l8er@gmx.de

Attachments:

From l8er@gmx.de on 2010-07-10 01:04:35
:

i read the header not with $c->get_request(1) but with readline($c) from
the client and the further content with $c->read($content, $contlen).
later i construct a response object and send it to the client. but no
header information is send, it's completly missing. maybe an error in
HTTP::Daemon::ClientConn ?

i appended some code and a wireshark tcp stream.


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with HTTP::Daemon::ClientConn and compare requests read through readline($c) with those read through $c->get_request(1). Reproduce the response path using the attached BUG sample and wireshark capture, then verify that response header information is sent when the request header was read with readline($c).

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.