Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO::Handle Supply is never done #4685

Closed
p6rt opened this issue Oct 29, 2015 · 4 comments
Closed

IO::Handle Supply is never done #4685

p6rt opened this issue Oct 29, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 29, 2015

Migrated from rt.perl.org#126479 (status was 'resolved')

Searchable as RT126479$

@p6rt
Copy link
Author

p6rt commented Oct 29, 2015

From @zostay

Turning a socket or file into a Supply using .Supply works, but the reactor listening to those events cannot detect a close condition without using something like an interval to monitor for connection closure.

IO​::Handle's Supply method should call use done to terminate the supply on eof/socket closure.

@p6rt
Copy link
Author

p6rt commented Oct 21, 2017

From @zoffixznet

On Wed, 28 Oct 2015 17​:41​:39 -0700, hanenkamp wrote​:

Turning a socket or file into a Supply using .Supply works, but the
reactor listening to those events cannot detect a close condition
without using something like an interval to monitor for connection
closure.

IO​::Handle's Supply method should call use done to terminate the
supply on eof/socket closure.

Tried on a few of 2015.* releases and couldn't reproduce the described issue.

There are roast tests for .Supply on sockets, handles, and cathandles. Closing.

@p6rt
Copy link
Author

p6rt commented Oct 21, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 21, 2017

@zoffixznet - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Oct 21, 2017
@p6rt p6rt added the IO label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant