Updating Fiber#517
Merged
Merged
Conversation
Contributor
Author
|
🙀 もう一つ補足がありました。
% sh test.sh
...略...
............................................XX....................................................
ArgumentError: ngx_mruby - rack base [location /rack_base_env] => string contains null byte
ArgumentError: ngx_mruby - rack base [method POST, location /rack_base_env] => string contains null byte
Total: 98
OK: 96
KO: 0
Crash: 2
Time: 19.5605 secondsこれについては、mruby-json にパッチを当てることで成功するようになります。 |
Owner
|
ありがとうございます!mruby-jsonのPRがマージされ次第こちらでも確認します。 |
Contributor
Author
|
mruby 本体に C から扱う |
Owner
|
了解です。とっても素晴らしい仕事ですね!ありがとうございます!! |
Differences can be found at mruby/mruby@15bb6a9...24eca2e
Use direct functions to deal with fiber.
Workarounds are no longer required, by mruby/mruby@9ee7edc .
Contributor
Author
|
mruby 側の問題が修正されました。 |
Owner
|
Thanks! |
Owner
|
ちかいうちにバージョンアップしておきますね |
Collaborator
|
ありがとうございます!!! |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
間が空いてしまいすいません。
この PR によって mruby/mruby#6063 を閉じられるのではないかと思いますが、いかがでしょうか?
それと気付いたことがあったので、ひとつだけ補足をさせてください。
Nginx.redirectによってmrb_fiber_resume()が入れ子状に呼び出されることがあります。僕はこれまで問題がありそうだと考えていました。しかしながら再考したところ
Fiber#transferが絡まなければ、コールスタックを圧迫すること以外は問題なさそうだと思うようになりました。このことは mruby の
mrb_fiber_resume()に関するドキュメント を更新する必要があります。ただし、ちゃんとした検証を行ってからとなるので、mruby への提案は少し先になりそうです。
@matsumotory Please review.
Pull-Request Check List
src/.test/. Please see about test docs.docs/if you change the features such as build system, Ruby methods, class and nginx directives.