Skip to content

Commit b4b0b6c

Browse files
committed
remove unnecessary lock from test http server
1 parent 303a3dc commit b4b0b6c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Release/tests/Functional/http/utilities/test_http_server.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,6 @@ class _test_http_server
476476

477477
volatile std::atomic<int> m_cancel;
478478

479-
pplx::extensibility::critical_section_t m_listen_lock;
480479
public:
481480
_test_http_server(const utility::string_t& uri)
482481
: m_uri(uri)
@@ -485,7 +484,6 @@ class _test_http_server
485484
{
486485
m_listener.support([&](web::http::http_request result) -> void
487486
{
488-
pplx::extensibility::critical_section_t::scoped_lock listen_lock(m_listen_lock); // try to serialize requests
489487
auto tr = new test_request();
490488
tr->m_method = result.method();
491489
tr->m_path = result.request_uri().resource().to_string();

0 commit comments

Comments
 (0)