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 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.
>
> You probably DON'T want to do that in your module.
> Just pass your data down the chain and let the builtin
> chunking filter chunk them.
>
> You're working in a modular architecture.  Don't reinvent the wheel!
>
> --
> Nick Kew
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>"   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



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

2011-10-07 Thread Nick Kew
On Fri, 7 Oct 2011 11:08:03 -0600 (MDT)
"Lyudmila L. Balakireva"  wrote:

> 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.

You probably DON'T want to do that in your module.
Just pass your data down the chain and let the builtin
chunking filter chunk them.

You're working in a modular architecture.  Don't reinvent the wheel!

-- 
Nick Kew

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[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 below is from chunk_filter.c


When doing chunking encoding why  CRLF needs to be inserted before flush
bucket, Is it just metadata bucket you skip ?



 * Insert the end-of-chunk CRLF before an EOS or
 * FLUSH bucket, or appended to the brigade
 */
e = apr_bucket_immortal_create(ASCII_CRLF, 2, c->bucket_alloc);
if (eos != NULL) {
APR_BUCKET_INSERT_BEFORE(eos, e);
}
else if (flush != NULL) {
APR_BUCKET_INSERT_BEFORE(flush, e);
}


thanks,
Lyudmila

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Apache Load balancer Issue in Solaris server

2011-10-07 Thread muthu.alagappan
Hi,

Need some guidance on configuring Apache load balancer in Solaris server .
Load Balancer  : Apache
Apache version : 2.2.16
Implemented using  
"http://httpd.apache.org/docs/current/mod/mod_proxy_balancer.html";
Algorithm Used for testing : 1) lbmethod=byrequests, 2)  lbmethod=bytraffic 3) 
lbmethod=bybusyness (All have failed )

Issue :

As of now we have  implemented Apache load balancer in our TEST environment by 
installing 2 instance of Our portal and when tested found to be working 
abnormally i.e. when we tried to hit the configured cluster it is coming out of 
the loop , if we manually change the URL with configured id we are not able to 
login to the portal.



BalancerMember http://*.*.*.*:61003/Index
BalancerMember http://*.*.*.*:61003/Index


Kindly help us to resovle this issue.

Thanks & Regards,
Muthu Alagappan |  BT11B- Ontario |  Tech Mahindra Limited
AMR Tech Park, Bommanahalli, Hosur Road, Bangalore - 560 068, INDIA
Off: +91 80 40498621 |  Mob: +91 95351 94406
Email: mm0064...@techmahindra.com | 
muthu.alagap...@bt.com


[users@httpd] How to decide about shared memory

2011-10-07 Thread Torsten Förtsch
Hi,

during APR configuring a decision is made what type of shared memory to 
use. Is there a way to influence this decision in favor for a certain 
kind via environment variables or command line options?

Thanks,
Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org