You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2019/10/17 22:27:37 UTC

[thrift] branch master updated: THRIFT-4952 Modified ssl_read feedback value break all the time error. Client: c_glib Patch: pengzhouhu

This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f0548e  THRIFT-4952 Modified ssl_read feedback value break all the time error. Client: c_glib Patch: pengzhouhu <pe...@huawei.com>
9f0548e is described below

commit 9f0548e05f1b1383cc122148d60cc40383ce599e
Author: pengzhouhu <pe...@huawei.com>
AuthorDate: Fri Sep 6 17:04:24 2019 +0800

    THRIFT-4952 Modified ssl_read feedback value break all the time error.
    Client: c_glib
    Patch: pengzhouhu <pe...@huawei.com>
    
    This closes #1869
---
 lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c b/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c
index df17fa6..a41e9c6 100644
--- a/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c
+++ b/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.c
@@ -291,7 +291,7 @@ thrift_ssl_socket_read (ThriftTransport *transport, gpointer buf,
 {
   guint maxRecvRetries_ = 10;
   ThriftSSLSocket *ssl_socket = THRIFT_SSL_SOCKET (transport);
-  guint bytes = 0;
+  gint32 bytes = 0;
   guint retries = 0;
   ThriftSocket *socket = THRIFT_SOCKET (transport);
   g_return_val_if_fail (socket->sd != THRIFT_INVALID_SOCKET && ssl_socket->ssl!=NULL, FALSE);