Skip to content

stream: add no-half-open enforcer only if needed

The listener does not do anything if allowHalfOpen is enabled. Add it only when allowHalfOpen is disabled.

If allowHalfOpen can be changed on the fly this PR doesn't make sense and should be closed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

stream

Merge request reports

Loading