We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d81de6c commit 9da8454Copy full SHA for 9da8454
2 files changed
src/proxy/FetchSM.cc
@@ -61,6 +61,7 @@ FetchSM::cleanUp()
61
}
62
63
if (http_vc) {
64
+ http_vc->do_io_shutdown(IO_SHUTDOWN_READWRITE);
65
http_vc->do_io_close();
66
67
free_MIOBuffer(req_buffer);
src/proxy/PluginVC.cc
@@ -397,6 +397,8 @@ PluginVC::do_io_shutdown(ShutdownHowTo_t howto)
397
ink_assert(!closed);
398
ink_assert(magic == PluginVCMagic_t::ALIVE);
399
400
+ SCOPED_MUTEX_LOCK(lock, mutex, this_ethread());
401
+
402
switch (howto) {
403
case IO_SHUTDOWN_READ:
404
read_state.shutdown = true;
0 commit comments