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

fix crash when the status code is not a number#1576

Merged
merged 4 commits into from
Dec 28, 2017

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Dec 27, 2017

The fix should be OK, but we cannot implement a test until #1575 gets resolved.

@kazuho kazuho added the mruby label Dec 27, 2017
t/50mruby.t Outdated
like $headers, qr{^HTTP/[0-9.]+ 500 }is, 'no headers';
($headers, $body) = $fetch->('[200, nil, nil]');
like $headers, qr{^HTTP/[0-9.]+ 500 }is, 'nil headers';
($headers, $body) = $fetch->('[200, nil, nil]');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicated?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Addressed in bea9a94.

@kazuho kazuho merged commit 5e3513c into master Dec 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants