[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] evbuffers and persistence
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] evbuffers and persistence
- From: Jan Danielsson <jan.m.danielsson@xxxxxxxxx>
- Date: Sat, 15 Jun 2019 01:47:34 +0200
- Autocrypt: addr=jan.m.danielsson@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFboTTcBEACfRDc0xpNDEcQUJT5jiXXenUzhu5/1UycQx+XY3lXj/eO2vbqVsh8HBGx1 ccEOwtMbBhu8H6S7s+7JXeRwHocHFt1WubrB7UkWEA3lxItRO5cJwHun2tNecxSUAFkyAnnO iLFrqdUYooCQ0OcRRu4hFXWe4FH2K5nSV6F03nP+exaUa5aXiHoDORShq2SQnO4K/FgJEbcn Tj8LKSfa5huJxH+x8Ijl5zTYl8R5z+LhbNxRvx3dPYMydGnrmZcUZi902zEAkxjLoKtWT1M7 cU2XWzFq97pSbUoj0kL30OQsZ5pI5DrJ9OdeQi2o3baTMfOazFAgNtkLa4htr8WyX+CuElJJ fCyrlaHiV8JjFMwn45PCQyPYul/q/E21sOn2kMe9uwQILSPwuwea22FKzDmlqk1E0J2DX8VJ 846vj7e5Tin4sTqoc1PIRyy6s5bxrshHBQd62i8KfqSPhGncrS4c3ewMuIn+1twM5JvKKUbt +Vn7k5DyzWim+yx83hucdpvSUwdPKgKFWwVzFmol89hdidKl74rIDi8pI+YJBRonkv/SR1Yk A/+4YwExcdmK7dzdzXgipuQnc9b8nShBEHX4yYY/mAE7MvrNC4rKIhaM0YC8/47m/NoH8VJF P8fKK89GrY2DJNIFXFTp0y7o1r/ysyNiQOL6NuxtxfnApAsdMwARAQABtCtKYW4gRGFuaWVs c3NvbiA8amFuLm0uZGFuaWVsc3NvbkBnbWFpbC5jb20+iQI/BBMBCAApBQJW6E03AhsDBQkD wmcABwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQ6wh8YpE2HNqvMw/+LIZADzjsF299 qxIJc4vshbs3vxA3tAavnZ53y9luFahxufa/jQMzdLGCW5tiWeq2MP2ljFzsTc0qvrIORUJE TrcMp+VrcDdIX13LLqd0y19CHOIWy7cau76nL/3lcs09tx9dfoiIDc5Phmccg9Umn2lcp5Gs 0oWEGN6qU9i7tLq4qZunU+HsqjRclEKxSfqxrENJ2LZcQnB3Vy6pWCfd5vjV2JO1cQfaL3kD AEmtQUMNgGuf0M2AaJ7BGonPGaodsUhpuJLEZfD+wC1bJmJWVLz/LFgswZ/YKGATjuoHw7I8 soRoKE7xPMJcxnNhqdmlV28PrloHsLn4biLCMcsg6b/rqwBizzQQ2W9lhIK7qSX5GpmpNKUr /1TIVAmzfQAxHIqAh+Z1IqfUBDlePTU3MasXmQ+o+ThYMsNvVgzq6930kfXV48dUWqB7KmUk 8HH5h3AMpHealbipgeVG6NNLwh++3SLlL6UPx1LCrdSV0Ygk8SRZYBem49CDMB3+HNWQTfq6 aNahBqPOTyl7R897CVJaq6aN6t5NxeJnXt5RPhvpdgrjcuSch0NexSlQREXZmPETdHzaxfby K7os1HtzaxIH+OdGnSBWHxDaHcYcpe7qMz/Y0NXYLsLdbVNHDiHwV9H4Ncbk3PD5nhjTZL04 NKnVzmn5Ie7kzy23OMA6VsY=
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Fri, 14 Jun 2019 19:47:40 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:openpgp:autocrypt:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=3yQY7K5EzIFA3dzpKn4YzSR8OfrLSmc13XgxxJTJMqU=; b=LlkV7MrbC6FA3oL399pPLlI4s9CO/+3OnUp/dzOLyen5tuHuLKlchkBnWeKzqFtyxu ISb0nWSCPgEmI7Vz1eD/SWl345oZCn442ax9zTzqoP882XLG/u+mxJ8tz9553UDWCLdV qgpHMvMeR9d4I8btKkR/1g/0Uh9RAP2jnF+TZOynk/JxXVkNQBr2+rOIUgocTxDwNS7H cZJCKnAb5rjvAjbzXZmgol16im5dC+i5T6cH1u9z2wJrcNOdsijk7Sl+QDAUD3SrV2az 8bBkU6QKXDsjH5iTQyiUYOT7PBTRGGSLzHO5GKF0K+mYQa8CpNNCIg68IlcI6VHAkOee /osA==
- Openpgp: preference=signencrypt
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
Hello,
Is it safe to store the input and output evbuffers from a bufferevent
(fetched using bufferevent_get_{input,output}()) in a long-lived
context? I.e. store the evbuffers in the bufferevent context and use
them directly instead of always fetching the input/output evbuffers on
each callback call.
--
Kind Regards,
Jan Danielsson
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.