]> git.pld-linux.org Git - packages/rstudio.git/blame - rstudio-openssl.patch
- added includes,openssl,boost patches; not finished yet (some boost::asio problem...
[packages/rstudio.git] / rstudio-openssl.patch
CommitLineData
d629e245
JB
1--- rstudio-1.1.143/src/cpp/core/http/SocketProxy.cpp.orig 2017-04-12 00:42:14.000000000 +0200
2+++ rstudio-1.1.143/src/cpp/core/http/SocketProxy.cpp 2019-04-30 20:29:46.259001047 +0200
3@@ -145,18 +145,11 @@
4
5 namespace {
6
7-#ifndef _WIN32
8-bool isSslShutdownError(const core::Error& error)
9-{
10- return error.code().category() == boost::asio::error::get_ssl_category() &&
11- error.code().value() == ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ);
12-}
13-#else
14 bool isSslShutdownError(const core::Error& error)
15 {
16 return false;
17 }
18-#endif
19+
20 } // anonymous namespace
21
22 void SocketProxy::handleError(const boost::system::error_code& e,
This page took 0.024622 seconds and 4 git commands to generate.