anyio 2.x changed from returning empty data to raising
EndOfStream. Prior to the anyio upgrade, no tests raised an
exception the server main loop, while after there were many
instances of EndOfStream and BrokenResourceError.
Also fix apparent bug in server connection handler, where the
wrong socket might be used.
anyio 2.x changed from returning empty data to raising EndOfStream. Prior to the anyio upgrade, no tests raised an exception the server main loop, while after there were many instances of EndOfStream and BrokenResourceError.
Also fix apparent bug in server connection handler, where the wrong socket might be used.