Skip to content

Commit 3aaac4d

Browse files
committed
CXX-338 Backport server r2.6.4..r2.6.5 changes
1 parent bcd0d24 commit 3aaac4d

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/mongo/util/net/sock.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -437,15 +437,6 @@ namespace mongo {
437437

438438
void Socket::close() {
439439
if ( _fd >= 0 ) {
440-
#ifdef MONGO_SSL
441-
if (_sslConnection.get()) {
442-
try {
443-
_sslManager->SSL_shutdown( _sslConnection.get() );
444-
}
445-
catch (const SocketException&) { // SSL_shutdown may throw if the connection fails
446-
}
447-
}
448-
#endif
449440
// Stop any blocking reads/writes, and prevent new reads/writes
450441
#if defined(_WIN32)
451442
shutdown( _fd, SD_BOTH );

src/mongo/util/version.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace mongo {
3131
* 1.2.3-rc4-pre-
3232
* If you really need to do something else you'll need to fix _versionArray()
3333
*/
34-
const char versionString[] = "2.6.4";
34+
const char versionString[] = "2.6.5";
3535

3636
// See unit test for example outputs
3737
BSONArray toVersionArray(const char* version){

0 commit comments

Comments
 (0)