libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] How to avoid the "Internal application error, closing co


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

Hello,

Sometimes, an application needs to refuse the client connection, something like this:

static int ahc_echo(void *cls, ...) {
    if (!logged())
        return MHD_NO;
}

However, when I pass the MHD_NO to the AHC, I always get the "Internal application error, closing connection" in my log.

So, is there some way to do it without log this message?

--
Silvio Clécio

reply via email to

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