Closed GoogleCodeExporter closed 9 years ago
It is my fault.
I should process post data more carefully.
CGI program exit too early and cause error 577 which is EPIPE(pipe broken).
Sorry for noise.
Original comment by kaich...@gmail.com
on 6 Apr 2011 at 9:49
Original comment by valenok
on 25 Apr 2011 at 7:40
I use mongoose as web server in my embedded system project and encounter this
issue.
I workaround it by the web cgi,i get the upload file length by
getenv("CONTENT_LENGTH") and write a loop to read all the upload file.
until now,mongoose work well.
thank you,mongoose team!
Original comment by cbdsq...@gmail.com
on 11 Aug 2011 at 12:46
the attached 'c' code is usable? how is reading from mongoose buffer?
can anybody share a code to read and save the uploaded(POST) file from a html
page to the mongoose server.
Original comment by abhayad...@gmail.com
on 22 Dec 2011 at 7:01
mongoose also use stdin to read, so you may use stdin to read file content:
#!/bin/sh
cat <&0 > /tmp/aaa
Original comment by anton...@radinetcomm.com
on 5 Jan 2012 at 6:35
please provide a solution i want to generate a file and post to the server as
html file
Original comment by ilke...@gmail.com
on 21 Dec 2012 at 12:05
Original issue reported on code.google.com by
kaich...@gmail.com
on 30 Mar 2011 at 2:48Attachments: