File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1171,9 +1171,11 @@ struct Session::Impl final : public MemoryRetainer {
11711171 DCHECK (args[1 ]->IsBoolean ());
11721172
11731173 auto direction = FromV8Value<Direction>(args[0 ]);
1174- if (!args[1 ].As <v8::Boolean>()->Value () && false ) { // This is waitUntilAvailable
1174+ if (!args[1 ].As <v8::Boolean>()->Value ()) { // This is waitUntilAvailable
11751175 if (!session->CanImmediatelyOpenStream (direction)) {
1176- return THROW_ERR_INVALID_STATE (env, " No new stream available within flow control" );
1176+ return THROW_ERR_INVALID_STATE (env,
1177+ " No new stream available within flow control"
1178+ );
11771179 }
11781180 }
11791181
@@ -3539,7 +3541,7 @@ uint64_t Session::max_local_streams_uni() const {
35393541
35403542uint64_t Session::max_local_streams_bidi () const {
35413543 DCHECK (!is_destroyed ());
3542- return ngtcp2_conn_get_streams_bidi_left2 (*this );
3544+ return ngtcp2_conn_get_streams_bidi_left2 (*this );
35433545}
35443546
35453547void Session::set_wrapped () {
You can’t perform that action at this time.
0 commit comments