[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] suspend/resume patch
From: |
Evgeny Grin |
Subject: |
Re: [libmicrohttpd] suspend/resume patch |
Date: |
Wed, 20 Apr 2016 20:41:52 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
On 20.04.2016 19:27, Flavio Ceolin wrote:
> Any other thoughts about this ? Should I consider this change not wanted
> ?
Please note, that connection in suspended mode still counted for IP
limits and pre-daemon limit, but will not timeout.
You changes are not perfectly thread-safe. If you don't know connection
suspended/resumed state, then MHD_resume_connection() could return but
connection will be suspended (as state may be changed by other thread
during execution of MHD_resume_connection() in this thread).
--
Best Wishes,
Evgeny Grin
signature.asc
Description: OpenPGP digital signature