tokuhirom / p6-HTTP-Server-Tiny

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

Remove silent error which causes performance degrade #61

Closed astj closed 7 years ago

astj commented 7 years ago

After %!env<p6w.input> became a Supply, %!env<p6w.input>.close starts to fail, but it's caught by try...

No such method 'close' for invocant of type 'Supply'. Did you mean 'clone'?
astj commented 7 years ago

ref: #50 (Before this, %!env<p6w.input> was an IO::Handle and has #close)

skaji commented 7 years ago

Should we call Supply.wait?

astj commented 7 years ago

Supply.wait waits until all data tapped, but I think we don't have to wait it because they will not be used anymore? (I'm not sure……)

skaji commented 7 years ago

LGTM!