Ticket #2 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

invalid virtualhost for this child

Reported by: gabriel Owned by:
Priority: low Milestone: 0.4.0 'Fusion' Release
Version: 0.4.0rc1 Severity: minor
Keywords: Cc:

Description

Since upgrading to 0.4.0RC1 from 0.3.0, I've been getting these about one every five or ten minutes, for various domains:

[Thu Jan 21 23:24:41 2010] [warn] invalid virtualhost for this child! (www.peruser.org)

Change History

comment:1 Changed 23 months ago by TaaviSannik

This happens when the client is trying to use one keep-alive connection to make requests to different domains (and these domains run under different processors) - IIRC this is against the RFC and is not currently supported by peruser.

This is because after the first request the socket is passed on to the worker and the second request comes, it should pass the socket on to the next request's worker - unfortunately I don't see any reasonable way to pass requests between workers.

comment:2 Changed 18 months ago by TaaviSannik

  • Status changed from new to closed
  • Resolution set to fixed

Hi Sean!

The fix for this is in the SVN.

Fixed this by letting the worker send the connection back to the multiplexer, which then forwards it to the correct processor/worker.

Note: See TracTickets for help on using tickets.