[ruby-list:50569] Re: IMAP IDLE
From:
Shugo Maeda <shugo@...>
Date:
2017-08-31 01:06:13 UTC
List:
ruby-list #50569
前田です。 2017年8月30日 19:09 <emo@nifs.ac.jp>: >>> class Net::IMAP::ResponseParser >>> def continue_req >>> match(T_PLUS) >>> token = lookahead >>> if token.symbol == T_SPACE >>> shift_token >>> return ContinuationRequest.new(resp_text, @str) >>> else >>> # return ContinuationRequest.new(ResponseText.new(nil, ""), @str) >>> return T_PLUS >>> end >>> end >>> end >> >> >> continue_reqはContinuationRequestを返すことが期待されているので、上記の修正では >> 問題が起きるかもしれません。 >> > > とりあえずは、今回の目的だけ達成すれば良いので、 > これで動かしています。 上記の修正をしないとどのような問題があったでしょうか? すでにtrunkでは上記の修正を適用していますので、問題があるのであれば修正して おきたいと思います。