diff options
author | Eric Milkie <milkie@10gen.com> | 2012-02-09 14:58:55 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-02-09 14:58:55 -0500 |
commit | 0ada9757bd3b79c19e1d643e53c91be6f5fe2cc0 (patch) | |
tree | a02c4344b2cdbaaf5209b1900362615a14a22ef0 /src/mongo/util/net/miniwebserver.h | |
parent | 0aaf41a410c1b257309dc20be058d1c8a8e33d57 (diff) | |
download | mongo-0ada9757bd3b79c19e1d643e53c91be6f5fe2cc0.tar.gz |
SERVER-4866 include the webserver in our attempt to prevent socket leaks
This fixes httpClientTest
Diffstat (limited to 'src/mongo/util/net/miniwebserver.h')
-rw-r--r-- | src/mongo/util/net/miniwebserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/net/miniwebserver.h b/src/mongo/util/net/miniwebserver.h index 1fb6b3f2e65..2067fe2c0d4 100644 --- a/src/mongo/util/net/miniwebserver.h +++ b/src/mongo/util/net/miniwebserver.h @@ -53,7 +53,7 @@ namespace mongo { static string urlDecode(string s) {return urlDecode(s.c_str());} private: - void accepted(Socket socket); + void accepted(boost::shared_ptr<Socket> psocket); static bool fullReceive( const char *buf ); }; |