[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] evbuffer_search_eol and double EVBUFFER_EOL_CRLF
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] evbuffer_search_eol and double EVBUFFER_EOL_CRLF
- From: Jeffrey Walton <noloader@xxxxxxxxx>
- Date: Tue, 11 Mar 2014 11:20:44 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Tue, 11 Mar 2014 11:20:48 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=0LmI8V1cc0QbWQ4qJfPEEQfCZ6AOE2MV2D7ndwDVwiU=; b=FDKfO6q7WtB2iAdBgxtuiuwMSlkvCNTCJegDaaLp+SE5pZe97qebdh01p74UYUhVtD hSFxCuwmCeL41y6+HUxfmZNOQ3xUenPiLexjUjRTbd4dUdoPWvJnQXSdNgPCVOJr2E3J rPCOIZJ9BIt/hQEfHHmZWQORMfsIXTsTtsT48ujm/xCA+cWToTOthugMfClJBP1FS9G5 ffc2Ven+EINEwFFEG4OR9RWksfn/ezwu0cqC3Rv94X79WE1emAtLe9zy0BUG7uA4/iM+ /Xy3btk6SqzHyujSzsEtnkVXZiYYhAm9ywELZX19TmRU1hu4X/TiUcY8WwtnFukHLnne XNxQ==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
I need to read a request from a client. A well formed request will
have a double-CRLF.
Is there a better way to search for the double-EOL that calling
evbuffer_search_eol, and then searching again starting at pos+1?
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.