[
https://issues.apache.org/jira/browse/THRIFT-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13613479#comment-13613479
]
SongQi edited comment on THRIFT-1530 at 3/26/13 4:34 AM:
---------------------------------------------------------
I made a patch:
tsocket = THRIFT_SOCKET(
g_object_new(
THRIFT_TYPE_SOCKET,
"hostname","10.210.230.16","port",1464,"conn_timeout",200,"recv_timeout",200,"send_timeout",
200,0
)
);
was (Author: sandysong):
tsocket = THRIFT_SOCKET(
g_object_new(
THRIFT_TYPE_SOCKET,
"hostname","10.210.230.16","port",1464,"conn_timeout",200,"recv_timeout",200,"send_timeout",
200,0
)
);
> thrift c_glib code has no support for timeouts
> ----------------------------------------------
>
> Key: THRIFT-1530
> URL: https://issues.apache.org/jira/browse/THRIFT-1530
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Compiler, C glib - Library
> Affects Versions: 0.8, 0.9
> Reporter: Mina Naguib
> Labels: c, c_glib, glib, out, thrift, time, timeout
> Attachments: thrift-c-glib-with-timeout.patch
>
>
> There's no mention of "timeout" anywhere in the c_glib compiler's code, nor
> (obviously) in the generated gen-c_glib code
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira