Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3632)

Issue 6346090: IBusBus: honor new connect-async prop in the socket monitor callback (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by TiagoMatos
Modified:
11 years, 9 months ago
Reviewers:
shawn.p.huang
Base URL:
git://github.com/ibus/ibus.git@master
Visibility:
Public.

Description

IBusBus: honor new connect-async prop in the socket monitor callback I think we should make use of the async connection here if the property is set. But we also need a new flag for ongoing async connection attempts because the socket monitor callback may be called several times before the connection is established. BUG=http://code.google.com/p/ibus/issues/detail?id=1482 TEST=

Patch Set 1 #

Total comments: 2

Patch Set 2 : IBusBus: connect asynchronously in the socket monitor callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -16 lines) Patch
M src/ibusbus.c View 1 8 chunks +80 lines, -16 lines 0 comments Download

Messages

Total messages: 4
TiagoMatos
11 years, 9 months ago (2012-07-12 14:39:52 UTC) #1
Peng
https://codereview.appspot.com/6346090/diff/1/src/ibusbus.c File src/ibusbus.c (right): https://codereview.appspot.com/6346090/diff/1/src/ibusbus.c#newcode359 src/ibusbus.c:359: !bus->priv->async_connection_ongoing) { If during connecting, the ibus-daemon is killed, ...
11 years, 9 months ago (2012-07-12 15:07:30 UTC) #2
TiagoMatos
Thanks for the review. I agree that we should always connect asynchronously. The issue you ...
11 years, 9 months ago (2012-07-12 18:19:04 UTC) #3
Peng
11 years, 9 months ago (2012-07-12 20:43:27 UTC) #4
On 2012/07/12 18:19:04, TiagoMatos wrote:
> Thanks for the review.
> 
> I agree that we should always connect asynchronously. The issue you pointed
out
> should be fixed here as well.

I modified this CL a little bit, and landed it. Please close it. Thanks for your
work.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b