Re: [Vala] Soup.Buffer memory

2013-09-25 Thread andrea zambon
Nemerson > On Tue, 2013-09-24 at 14:24 +0200, andrea zambon wrote: > > I am developing a service http with libsoup, but I have a memory problem. > > When you make a request, the service memory increases during transmission > > and decreases only after the closure of the serv

[Vala] Soup.Buffer memory

2013-09-24 Thread andrea zambon
I am developing a service http with libsoup, but I have a memory problem. When you make a request, the service memory increases during transmission and decreases only after the closure of the service. Another call and will increase again. The client is in another machine and the data may be very lo

Re: [Vala] http server help

2011-10-05 Thread andrea zambon
I'm an idiot! The first code, with socket, I forget the new line to close the header, but with the server libsoup I have forgotten the 200 OK response. 2011/10/1 andrea zambon > Done. > > void default_handler (Soup.Server server, Soup.Message msg, string path, > GLib

[Vala] http server help

2011-10-01 Thread andrea zambon
Hi, I'm writing a little http server to send some binary data. example: void process_request (InputStream input, OutputStream output) throws Error { var file = File.new_for_path ("audio.mp3"); var file_stream = file.read (); var data_stream = new DataInputStream (file_stream); da