We use four-space indents in this repository, not two.
> _error = true;
> -
> _stream_queue.abort(std::make_exception_ptr(stream_closed()));
> return stop_send_loop(ep).then_wrapped([this] (future<> f)
> {
> f.ignore_ready_future();
> _outstanding.clear();
> @@ -1244,8 +1246,10 @@ future<>
> server::connection::send_unknown_verb_reply(std::optional<rpc_clock_t
> yp
> format("server{} connection dropped",
> is_stream() ? " stream" : "").c_str(), ep);
> }
> _fd.shutdown_input();
> + if (is_stream() && (ep || _error)) {
> +
> _stream_queue.abort(std::make_exception_ptr(stream_closed()));
> + }
Here too.
What about a test?
On Tue, 2025-01-28 at 14:34 +0200, 'Gleb Natapov' via seastar-dev
wrote: