qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1349487 - /qpid/proton/trunk/proton-c/src/driver.c
Date Tue, 12 Jun 2012 19:28:17 GMT
Author: rhs
Date: Tue Jun 12 19:28:17 2012
New Revision: 1349487

URL: http://svn.apache.org/viewvc?rev=1349487&view=rev
Log:
return connectors with unprocessed input

Modified:
    qpid/proton/trunk/proton-c/src/driver.c

Modified: qpid/proton/trunk/proton-c/src/driver.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/driver.c?rev=1349487&r1=1349486&r2=1349487&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/driver.c (original)
+++ qpid/proton/trunk/proton-c/src/driver.c Tue Jun 12 19:28:17 2012
@@ -819,7 +819,8 @@ pn_connector_t *pn_driver_connector(pn_d
     pn_connector_t *c = d->connector_next;
     d->connector_next = c->next;
 
-    if (c->closed || c->pending_read || c->pending_write || c->pending_tick)
{
+    if (c->closed || c->pending_read || c->pending_write || c->pending_tick ||
+        c->input_size || c->input_eos) {
       return c;
     }
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message