Browse Source

Removed is_handling_requests

yhirose 7 years ago
parent
commit
bc051219f9
2 changed files with 0 additions and 3 deletions
  1. 0 2
      httplib.h
  2. 0 1
      test/test.cc

+ 0 - 2
httplib.h

@@ -209,8 +209,6 @@ public:
     bool is_running() const;
     bool is_running() const;
     void stop();
     void stop();
 
 
-    bool is_handling_requests() const;
-
 protected:
 protected:
     bool process_request(Stream& strm, bool last_connection);
     bool process_request(Stream& strm, bool last_connection);
 
 

+ 0 - 1
test/test.cc

@@ -365,7 +365,6 @@ protected:
     virtual void TearDown() {
     virtual void TearDown() {
         svr_.stop();
         svr_.stop();
         t_.join();
         t_.join();
-        EXPECT_EQ(false, svr_.is_handling_requests());
     }
     }
 
 
     map<string, string> persons_;
     map<string, string> persons_;