[jira] [Updated] (THRIFT-5725) Thrift SSL server stops working if the file descriptor returned is zero
[ https://issues.apache.org/jira/browse/THRIFT-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Geyer updated THRIFT-5725: --- Fix Version/s: (was: 0.19.0) > Thrift SSL server stops working if the file descriptor returned is zero > --- > > Key: THRIFT-5725 > URL: https://issues.apache.org/jira/browse/THRIFT-5725 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.19.0 >Reporter: Prasenjit Sarkar >Assignee: Prasenjit Sarkar >Priority: Critical > Time Spent: 40m > Remaining Estimate: 0h > > When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), > the server stops working and cannot accept new connections because of the > following code in TSSLSocket.cpp: > > {code:java} > if (BIO_get_fd(bio, ) <= 0) > { throw TSSLException("BIO_get_fd failed"); } > {code} > > The fix would be to just change the comparison from <= to < -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (THRIFT-5725) Thrift SSL server stops working if the file descriptor returned is zero
[ https://issues.apache.org/jira/browse/THRIFT-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Geyer updated THRIFT-5725: --- Fix Version/s: 0.19.0 > Thrift SSL server stops working if the file descriptor returned is zero > --- > > Key: THRIFT-5725 > URL: https://issues.apache.org/jira/browse/THRIFT-5725 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.19.0 >Reporter: Prasenjit Sarkar >Assignee: Prasenjit Sarkar >Priority: Critical > Fix For: 0.19.0 > > Time Spent: 40m > Remaining Estimate: 0h > > When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), > the server stops working and cannot accept new connections because of the > following code in TSSLSocket.cpp: > > {code:java} > if (BIO_get_fd(bio, ) <= 0) > { throw TSSLException("BIO_get_fd failed"); } > {code} > > The fix would be to just change the comparison from <= to < -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (THRIFT-5725) Thrift SSL server stops working if the file descriptor returned is zero
[ https://issues.apache.org/jira/browse/THRIFT-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Geyer updated THRIFT-5725: --- Fix Version/s: (was: 0.19.0) > Thrift SSL server stops working if the file descriptor returned is zero > --- > > Key: THRIFT-5725 > URL: https://issues.apache.org/jira/browse/THRIFT-5725 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.19.0 >Reporter: Prasenjit Sarkar >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), > the server stops working and cannot accept new connections because of the > following code in TSSLSocket.cpp: > > {code:java} > if (BIO_get_fd(bio, ) <= 0) > { throw TSSLException("BIO_get_fd failed"); } > {code} > > The fix would be to just change the comparison from <= to < -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (THRIFT-5725) Thrift SSL server stops working if the file descriptor returned is zero
[ https://issues.apache.org/jira/browse/THRIFT-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasenjit Sarkar updated THRIFT-5725: - Fix Version/s: (was: 0.12.0) (was: 0.13.0) (was: 0.15.0) (was: 0.14.2) (was: 0.16.0) (was: 0.17.0) (was: 0.18.1) > Thrift SSL server stops working if the file descriptor returned is zero > --- > > Key: THRIFT-5725 > URL: https://issues.apache.org/jira/browse/THRIFT-5725 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.19.0 >Reporter: Prasenjit Sarkar >Priority: Critical > Fix For: 0.19.0 > > Time Spent: 10m > Remaining Estimate: 0h > > When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), > the server stops working and cannot accept new connections because of the > following code in TSSLSocket.cpp: > > {code:java} > if (BIO_get_fd(bio, ) <= 0) > { throw TSSLException("BIO_get_fd failed"); } > {code} > > The fix would be to just change the comparison from <= to < -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (THRIFT-5725) Thrift SSL server stops working if the file descriptor returned is zero
[ https://issues.apache.org/jira/browse/THRIFT-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasenjit Sarkar updated THRIFT-5725: - Description: When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), the server stops working and cannot accept new connections because of the following code in TSSLSocket.cpp: {code:java} if (BIO_get_fd(bio, ) <= 0) { throw TSSLException("BIO_get_fd failed"); } {code} The fix would be to just change the comparison from <= to < was: When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), the server stops working and cannot accept new connections because of the following code in TSSLSocket.cpp: ``` if (BIO_get_fd(bio, ) *<=* 0) { throw TSSLException("BIO_get_fd failed"); } ``` The fix would be to just change the comparison from <= to < > Thrift SSL server stops working if the file descriptor returned is zero > --- > > Key: THRIFT-5725 > URL: https://issues.apache.org/jira/browse/THRIFT-5725 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.19.0 >Reporter: Prasenjit Sarkar >Priority: Critical > Fix For: 0.12.0, 0.13.0, 0.15.0, 0.14.2, 0.16.0, 0.17.0, 0.18.1, > 0.19.0 > > > When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), > the server stops working and cannot accept new connections because of the > following code in TSSLSocket.cpp: > > {code:java} > if (BIO_get_fd(bio, ) <= 0) > { throw TSSLException("BIO_get_fd failed"); } > {code} > > The fix would be to just change the comparison from <= to < -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (THRIFT-5725) Thrift SSL server stops working if the file descriptor returned is zero
[ https://issues.apache.org/jira/browse/THRIFT-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasenjit Sarkar updated THRIFT-5725: - Priority: Critical (was: Major) > Thrift SSL server stops working if the file descriptor returned is zero > --- > > Key: THRIFT-5725 > URL: https://issues.apache.org/jira/browse/THRIFT-5725 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.19.0 >Reporter: Prasenjit Sarkar >Priority: Critical > Fix For: 0.12.0, 0.13.0, 0.15.0, 0.14.2, 0.16.0, 0.17.0, 0.18.1, > 0.19.0 > > > When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), > the server stops working and cannot accept new connections because of the > following code in TSSLSocket.cpp: > ``` > if (BIO_get_fd(bio, ) *<=* 0) { > throw TSSLException("BIO_get_fd failed"); > } > ``` > The fix would be to just change the comparison from <= to < -- This message was sent by Atlassian Jira (v8.20.10#820010)