[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Libevent HTTP and pipeline mode
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] Libevent HTTP and pipeline mode
- From: Anton Zem <handychess@xxxxxxxxx>
- Date: Mon, 26 Jul 2010 17:11:21 +0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Mon, 26 Jul 2010 09:11:29 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=1MH3xyb3z2BGe+Tp9e+QtK4C7X5vKxHpWnpFdkqw+18=; b=KVU085cbVyAZwiAYx7ekQx5um7N1vIwM3pnI0mG64U8sVfnQtX25h0Z4ZgEfenLmiB eqgKcbzM0iKkyOUJqy31DAqYYZUBituPez7/aYC7bLdDX6oHPpwlw6P4yo7+EjUFEUQU 15y5L/dyNHLBkfhHYbXs/gjORVCVHHKSQ6wfQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jm972/rokcqT7GmmyldRbzQOXi8zbqUyL6sIJpvfioEsW+0rI3+qwWRNPBYG/qv6AJ t7RCmc5/9NBAz4VvKFtARkmNk34C2X511QmLkez0pxbFB8PC4rBpAGU/qgTDutmWhfh/ 0HNXNadG3iRY+uC6UlZsYw3OIlnWztObtkMTc=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Libevent seems to have no HTTP pipeline mode support. If I send the second request immediatly after the first, the HTTP connection just hangs. req->ntoread goes negative (request got more bytes than it was expecting, so it stays in this state forever).
Are there any ideas of how HTTP pipelining is possible with libevent? Anyone tried?