libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] How to avoid the "Internal application error, closin


From: silvioprog
Subject: Re: [libmicrohttpd] How to avoid the "Internal application error, closing connection" message when AHC = NO?
Date: Mon, 14 Mar 2016 10:49:37 -0300

Hm... I use MHD_OPTION_EXTERNAL_LOGGER, so I'll do something like:

if (msg != 'Internal application error, closing connection.\n')
  logger.log(msg);

I thought about it, but I didn't know that I could skip all messages of this type.

Thank you! :-)

On Mon, Mar 14, 2016 at 10:34 AM, Christian Grothoff <address@hidden> wrote:
You could filter those in your custom logger, which you can set using
MHD_OPTION_EXTERNAL_LOGGER.

-Christian
 
--
Silvio Clécio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]