tokuhirom / p6-HTTP-Server-Tiny

Web application server for Perl6
Artistic License 2.0
18 stars 10 forks source link

Apparent deadlock in t/12-supply.t #33

Closed jonathanstowe closed 8 years ago

jonathanstowe commented 8 years ago

This is related to #31 but as it is specific to the supply test I'll make a separate one.

It would appear that the t/12-supply.t suffers a deadlock between the Supply and the client somehow.

If the parts of the test (i.e. the server and the client,) are run as separate processes, then it all works fine, however in the test the client times out before receiving any data.

Instrumentation of the test and library code indicates that the supply is being exhausted and that it is probable that the deadlock is occurring between the sockets somehow.

I'm looking at it with a view to fixing.