[users@httpd] output_filter apr_bucket_read

2011-10-12 Thread Lyudmila L. Balakireva
I am working on output_filter I have question about reading data. I am reading data with similar technic like mod_dumpio, but when testing with large pdf file, I have less data in apr_bucket_read , then b->length indicates. It seems some buffer size limit for reading exists. how should I get all

Re: [users@httpd] apache filter flush bucket chunked

2011-10-07 Thread Lyudmila L. Balakireva
Could you comment on my question. I am aware of modular architecture. I need to send data to different server for archiving with each request. > On Fri, 7 Oct 2011 11:08:03 -0600 (MDT) > "Lyudmila L. Balakireva" wrote: > >> Hello, >> I am writing some output fil

[users@httpd] apache filter flush bucket chunked

2011-10-07 Thread Lyudmila L. Balakireva
Hello, I am writing some output filter and I am studying existing code. I need to create socket in my code and read data from buckets and send data using chunking encoring. So my question if I need to do any special processing with flush buckets, besides forwarding them to next filter. example

[users@httpd] logging from custom module ubuntu apache

2011-08-29 Thread Lyudmila L. Balakireva
Hello, I installed apache 2.2.17 on ubuntu. I also added custom module which has debug messages such as: ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,"mod_xxx: uri from cache check %s",val) ; etc On Red Hat apache the module is logging to error.log, but on ubuntu apache it does not. Is any

[us...@httpd] url of internal redirect

2010-05-06 Thread Lyudmila L. Balakireva
Hi, I have output filter at AP_FTYPE_CONNECTION - 1 moment : ap_register_output_filter("MY_TA_OUT3", ta_out_filter3,NULL, AP_FTYPE_CONNECTION - 1); and I determine the url of request as const char *uri = r->unparsed_uri; but we have site with does redirect from www.company.org/ to www.co

Re: [us...@httpd] how to do http PUT inside the output filter

2009-06-18 Thread Lyudmila L. Balakireva
> > On 17 Jun 2009, at 18:52, Lyudmila L. Balakireva wrote: > >> Hello, >> I am new to apache and c and > > Then you're probably being over-ambitious :-) > > One thing that immediately stands out: you're using the request pool, > but you defined

[us...@httpd] how to do http PUT inside the output filter

2009-06-17 Thread Lyudmila L. Balakireva
Hello, I am new to apache and c and need help in developing output filter which need to collect (headers and body ) and send PUT request to external webserver. Currently I am getting child pid 7106 exit signal Segmentation fault (11) error in my filter: Can somebody pinpoint if I do something fund

[us...@httpd]

2009-06-03 Thread Lyudmila L. Balakireva
Hello, I need to supply different content handler based on presence of certain request header. Is it any simple ready to use solution exists for the problem? Like configuration direction (example please). Or I need to implement input filter to check header and set the content handler ? any example