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

Calling Yajl.load with ARGF hangs after last object #224

Open
daniels opened this issue Oct 5, 2022 · 0 comments
Open

Calling Yajl.load with ARGF hangs after last object #224

daniels opened this issue Oct 5, 2022 · 0 comments

Comments

@daniels
Copy link

daniels commented Oct 5, 2022

Calling Yajl.load(ARGF) will hang after the last object has been yielded.

E.g.

echo '{"a": 1}' | ruby -ryajl -e 'Yajl.load(ARGF) {|o| p o }'

Will output

{"a"=>1}

and then hang indefinitely.

@daniels daniels closed this as completed Oct 5, 2022
@daniels daniels reopened this Oct 5, 2022
@daniels daniels changed the title Callin Yajl.load with ARGF doesn Callin Yajl.load with ARGF hangs after last object Oct 5, 2022
@daniels daniels changed the title Callin Yajl.load with ARGF hangs after last object Calling Yajl.load with ARGF hangs after last object Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant