# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #129213]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129213 >


See attached files.

I have seen variations of this problem in 2016.07, .08, and just today
with f648d3b / 67b6836 / 5108035 - however the issues with the most
recent version seem to happen even sooner. (2016.08, for example, It
looked like even more work was being done in the start block before
the hang occurred0

Run 'perl6 wtf.p6' - this starts the bailador server listening on port 7890.

Run the curl.sh command - you'll see an "A" in the log - if you
wait... no "B" appears.
Now run the curl.sh command multiple times - you'll see an "A" appear
for each request, but you won't get a "B" until a few requests have
been posted.

Remove the start block and restart - "B" comes back very quickly.

Revert wtf.p6, replace the slurp line with a "sleep 4"  and rerun: now
A still emits immediately with each curl request, but B emits for each
of those requests, just after the expected delay.

So, triggering the issue seems to require HTTP::Easy's .run method
(used in Bailador), an async start block, and then additional IO in
the start block.

-- 
Will "Coke" Coleda

Attachment: curl.sh
Description: Bourne shell script

Attachment: wtf.p6
Description: Binary data

Reply via email to