[nginx module] Convert ngx_chain_t to buffer memory

2014-11-18 Thread hungnguyen
Hi, I am looking for a way to read ngx_chain_t buffer like what we do with buffer memory (file-> buffer memory) Is there any way we can do it with internal nginx api? Thanks, Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254875,254875#msg-254875 _

Re: [nginx module] Save response into temp file

2014-10-09 Thread hungnguyen
Hello, Sorry for my late replay. Now I can be able to write file into disk and read from it without problem (csv file) by using this: ngx_temp_file_t *tf; tf = ngx_pcalloc(r->pool, sizeof (ngx_temp_file_t)); tf->file.fd = NGX_INVALID_FILE; tf->file.lo

Re: [nginx module] Save response into temp file

2014-09-24 Thread hungnguyen
anyone? Please! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253477,253506#msg-253506 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx