pika/pika — Issue #101: Message loss with SelectConnection
Author: ceymard
Created: 2011-11-09 14:41:46+00:00
State: open

I can't seem to understand why if I do once connected

```python
for i in xrange(0, 20):
channel.basic_publish(...)
```

my message won't *systematically* reach their corresponding consumers.

When they all go through (rare), the python program doesn't exit.

But, if one or more fail to be sent, the python program exits without any exception of any kind. The for loop is executed entirely (I printed the `i`).

BUT. If I do the sends with some `connection.add_timeout`, they all get sent.

I do not understand what I'm doing wrong.