[libmicrohttpd] Terminate session with response

2023-08-31 Thread Avner Flesch
Hi, I am implementing file download with libmicrohttpd. Now I am wondering - in case I have a failure during the download, is there an option to terminate the session with a response, or should I wait to get all the file parts, and just then send the response with code "400"? When I am returning "

[libmicrohttpd] MHD_queue_response return error

2023-05-22 Thread Avner Flesch
Hi, Maybe someone can help me: When I am getting a "POST" request without content - everything is okay, but when I am putting some content in the request, the MHD_queue_response return MHD_NO (and I set *upload_data_size to 0) Any advice? Thanks Avner

Re: [libmicrohttpd] Build libmicrohttpd with HTTPS to powerpc

2017-09-13 Thread Avner Flesch
p, > 2) Disable TLS support for MHD if you do not need it; or, > 3) Put MHD-logic behind a reverse proxy (i.e. Apache) that >does support TLS > > Happy hacking! > > Christian > > On 09/03/2017 09:23 PM, Avner Flesch wrote: > > Hi, > > > > I am trying

[libmicrohttpd] Build libmicrohttpd with HTTPS to powerpc

2017-09-03 Thread Avner Flesch
Hi, I am trying to build libmicrohttpd for powerpc (ppc_6xx) host. I remember that a few years ago, in order to support HTTPS you could use GnuTls lib or gcrypt lib - I am having trouble to build GnuTls (because of all the dependencies). What is the last libmicrohttpd version that can support HTTP

Re: [libmicrohttpd] HTTPS delay

2011-11-01 Thread Avner Flesch
Cc: Avner Flesch Subject: Re: [libmicrohttpd] HTTPS delay Date: Mon, 31 Oct 2011 15:13:16 +0100 On Monday, October 31, 2011 02:57:01 PM Avner Flesch wrote: > Thanks > > I have big improvement. What did you use? How much did performance improve? > Do you have idea also how to short th

Re: [libmicrohttpd] HTTPS delay

2011-10-31 Thread Avner Flesch
: [libmicrohttpd] HTTPS delay Date: Sun, 30 Oct 2011 18:53:11 +0100 On 10/30/2011 06:12 PM, Avner Flesch wrote: > Thanks for the fast reply. > I am using Linux on powerpc 875 (50 MHz). Then 6s could totally be encryption. This article might be a good start for cipher choices: http://journal.paul.quer

Re: [libmicrohttpd] HTTPS delay

2011-10-30 Thread Avner Flesch
/2011 05:16 PM, Avner Flesch wrote: > Hi, > > I am developing simple secured HTTP (HTTPS) server for embedded system. > It seems that the delay is rather long - for example ~230 KB file delay > is almost 6 seconds. > Is there a way to speed it up? On an embedded system, I suspect th

[libmicrohttpd] HTTPS delay

2011-10-30 Thread Avner Flesch
Hi, I am developing simple secured HTTP (HTTPS) server for embedded system. It seems that the delay is rather long - for example ~230 KB file delay is almost 6 seconds. Is there a way to speed it up? Thanks Avner Flesch

[libmicrohttpd] Failing send response to POST message

2011-10-27 Thread Avner Flesch
Hi, I am using the post process to handle POST message. After that I want to send response but the "MHD_queue_response" failed seems because the connection state is "MHD_CONNECTION_CONTINUE_SENT" (6). What am I missing? Thanks Avner Flesch