Re: Open Projects

2009-03-06 Thread Roy T. Fielding

On Mar 6, 2009, at 4:58 PM, ntwrkd wrote:


I haven't heard back from faxing my developer app to the ASF. Would I
even be able to contribute?


Anyone can contribute by posting fixes in email or bugzilla.
A CLA is only required by us when we think a given contribution is
significant enough to merit its own copyright, or if you are
offered commit access.

In any case, we do not have a CLA on file from Matthew Sacks,
nor from anyone using your email address.  Sometimes that means
the fax was unreadable.  You can scan one and email it to me,
or to secretary at apache.org, or just snail mail it.

Roy


Re: mod_dbd analogue for memcached

2009-03-06 Thread M. Brian Akins


On Mar 6, 2009, at 1:25 AM, Kevac Marko wrote:


And after that you have to restart apache? It's not enough dynamic  
for us.




graceful restart.



Re: Open Projects

2009-03-06 Thread ntwrkd
I haven't heard back from faxing my developer app to the ASF. Would I
even be able to contribute?

On Fri, Mar 6, 2009 at 12:05 PM, Sander Temme  wrote:
>
> On Mar 6, 2009, at 9:30 AM, ntwrkd wrote:
>
>> What portions of the httpd project need work/bug fixes?
>> Is there a top priorities page I can view?
>
> Try:
>
> https://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&product=Apache%20httpd-2&query_format=advanced&order=bugs.bug_id
>
> Any info to test for, patch, or debunk any of these almost 900 reports
> helps.
>
>> Thx
>
> Also, grepping the source code for XXX can get you an idea for stuff to work
> on.
>
> S.
>
> --
> Sander Temme
> scte...@apache.org
> PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF
>
>
>
>


Re: Open Projects

2009-03-06 Thread Sander Temme


On Mar 6, 2009, at 9:30 AM, ntwrkd wrote:


What portions of the httpd project need work/bug fixes?
Is there a top priorities page I can view?


Try:

https://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&product=Apache%20httpd-2&query_format=advanced&order=bugs.bug_id

Any info to test for, patch, or debunk any of these almost 900 reports  
helps.



Thx


Also, grepping the source code for XXX can get you an idea for stuff  
to work on.


S.

--
Sander Temme
scte...@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF





smime.p7s
Description: S/MIME cryptographic signature


Re: Open Projects

2009-03-06 Thread Torsten Foertsch
On Fri 06 Mar 2009, ntwrkd wrote:
> What portions of the httpd project need work/bug fixes?
> Is there a top priorities page I can view?
>
> Thx

Don't know if there is a list. But mod_perl and libapreq (I think) could 
use a hand if you are interested.

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foert...@gmx.net


Open Projects

2009-03-06 Thread ntwrkd
What portions of the httpd project need work/bug fixes?
Is there a top priorities page I can view?

Thx


Re: [RELEASE CANDIDATE] libapreq2 2.12 RC1

2009-03-06 Thread Fred Moyer

Joe Schaefer wrote:

Please test and vote on the following tarball and sigfile:

http://people.apache.org/~joes/libapreq2-2.12-RC1.tar.gz
http://people.apache.org/~joes/libapreq2-2.12-RC1.tar.gz.asc

I've seeded the dates to be 1 week from today, so let's
not dilly-dally please ;-)


Getting an odd message on OS X but maybe it is my setup.

OS X 10.5, mod_perl-svn, perl 5.8.8 unthreaded, httpd 2.2.4

make test:

waiting 60 seconds for server to start: 00:00httpd: Syntax error on line 
17 of 
/Users/phred/dev/svn/sl/trunk/SL-App/src/libapreq2-2.12/module/t/conf/httpd.conf: 
Cannot load 
/Users/phred/dev/svn/sl/trunk/SL-App/src/libapreq2-2.12/module/apache2/.libs/mod_apreq2.so 
into server: Library not loaded: 
/Users/phred/dev/sl/httpd2/lib/libapreq2.3.dylib
  Referenced from: 
/Users/phred/dev/svn/sl/trunk/SL-App/src/libapreq2-2.12/module/apache2/.libs/mod_apreq2.so
  Reason: Incompatible library version: mod_apreq2.so requires version 
11.0.0 or later, but libapreq2.3.dylib provides version 10.0.0


Re: [RELEASE CANDIDATE] libapreq2 2.12 RC1

2009-03-06 Thread Joe Schaefer





- Original Message 
> From: Fred Moyer 
> To: Joe Schaefer 
> Cc: apreq-...@httpd.apache.org
> Sent: Friday, March 6, 2009 12:10:15 PM
> Subject: Re: [RELEASE CANDIDATE] libapreq2 2.12 RC1
> 
> Joe Schaefer wrote:
> > Please test and vote on the following tarball and sigfile:
> > 
> > http://people.apache.org/~joes/libapreq2-2.12-RC1.tar.gz
> > http://people.apache.org/~joes/libapreq2-2.12-RC1.tar.gz.asc
> > 
> > I've seeded the dates to be 1 week from today, so let's
> > not dilly-dally please ;-)
> 
> Getting an odd message on OS X but maybe it is my setup.
> 
> OS X 10.5, mod_perl-svn, perl 5.8.8 unthreaded, httpd 2.2.4
> 
> make test:
> 
> waiting 60 seconds for server to start: 00:00httpd: Syntax error on line 17 
> of 
> /Users/phred/dev/svn/sl/trunk/SL-App/src/libapreq2-2.12/module/t/conf/httpd.conf:
>  
> Cannot load 
> /Users/phred/dev/svn/sl/trunk/SL-App/src/libapreq2-2.12/module/apache2/.libs/mod_apreq2.so
>  
> into server: Library not loaded: 
> /Users/phred/dev/sl/httpd2/lib/libapreq2.3.dylib

That's the wrong library (it's an old installed version instead of the one from
libapreq2-2.12/library/.libs). Check ldd (maybe oname IIRC) on mod_apreq2.so to
see what the module is actually linked against.

>   Referenced from: 
> /Users/phred/dev/svn/sl/trunk/SL-App/src/libapreq2-2.12/module/apache2/.libs/mod_apreq2.so
>   Reason: Incompatible library version: mod_apreq2.so requires version 11.0.0 
> or 
> later, but libapreq2.3.dylib provides version 10.0.0



  


Re: [PATCH] mod_dbd with more than one pool

2009-03-06 Thread Chris Darroch

Kevac Marko wrote:


I'm not experienced in commiting patches to open source projects, so I
am very thankful for your comments.


  No problem -- thanks for pushing this patch along!

  One thought I had overnight is that you might, if you like, want
to tackle the init SQL patch first, which seems unrelated to the
multiple pools idea and significantly simpler, easier to review,
and probably easier to backport as well.

  Can you provide an example of how such initialization SQL queries
would be used?  And, as a question, might it be necessary for such
queries to run before any other SQL queries are prepared?  IIRC
in the patch they are run after the other queries are prepared, but
if they were truly required for connection initialization, they'd
need to be absolutely first, no?



80 columns is a little bit ancient requirement in the world of 22"
LCDs, but ok, i'll fix that too.


  I mentioned this just because it's part of the httpd style
guidelines, and because there's no need to reformat existing code
which already meets the guideline.

  This is off-topic, but personally I like such a limit not only for
the key reasons already mentioned by Brian (i.e., having two or more
versions of the same code or some inter-related files next to each
other), but also because I find it helps curtail poor design on my part.

  If I've got a deeply nested set of blocks and I'm hitting up against
the right margin, that's a good hint I need to rethink what I'm doing
and likely refactor it into some smaller functions.  It also forces
one to avoid names like foo_bar_baz_wadda_wadda_yippity_boom_de_boom() --
or in Java, fooBarBazWaddaWaddaYippityBoomDeBoom() -- and find something
shorter and more expressive.  And if I have a function with a large
number of arguments, it makes me review whether they should really
be part of a single data structure or object; that's been a good
reminder to me over the years of Fred Brooks's old adage about thinking
through one's data structures first.

Chris.

--
GPG Key ID: 366A375B
GPG Key Fingerprint: 485E 5041 17E1 E2BB C263  E4DE C8E3 FA36 366A 375B


Re: one SELECT query only?

2009-03-06 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Jérôme Renard wrote:
> Hope that helps.

Indeed it does. Very concise and clear code, Jérôme. Merci.

- --
Arturo "Buanzo" Busleiman / Arturo Busleiman @ 4:900/107
Independent Linux and Security Consultant - SANS - OISSG - OWASP
http://www.buanzo.com.ar/pro/eng.html
Mailing List Archives at http://archiver.mailfighter.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkmxNEIACgkQAlpOsGhXcE2TRQCdFZvzaZjMIZbX3fb+lJABZmqv
HKsAniNzu0DTwUZPKLFy3Lefh+HLfmNH
=70yq
-END PGP SIGNATURE-


Re: one SELECT query only?

2009-03-06 Thread Jérôme Renard

Hi Arturo,

Arturo 'Buanzo' Busleiman a écrit :
[...]

Any source code file you could recommend to see how a simple select query can 
be performed from
within a module using apr_dbd would be much appreciated. I couldn't find a good 
example.


In case it helps :

- http://svn.projects.ez.no/mod_ezclustered_image/mod_ezclustered_image.c
- http://svn.projects.ez.no/mod_ezclustered_image/INSTALL

You might find the "Configuring the module" section useful, in the INSTALL file.

Hope that helps.

Best Regards.

--
Jérôme :)


one SELECT query only?

2009-03-06 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi guys,

Any source code file you could recommend to see how a simple select query can 
be performed from
within a module using apr_dbd would be much appreciated. I couldn't find a good 
example.

My module only need one query from time to time, so I don't need no persistant 
dbd pools, nothing
fancy... just... one query :) Any pointers or should I just -lsqlite3 ? :)

- --
Arturo "Buanzo" Busleiman / Arturo Busleiman @ 4:900/107
Independent Linux and Security Consultant - SANS - OISSG - OWASP
http://www.buanzo.com.ar/pro/eng.html
Mailing List Archives at http://archiver.mailfighter.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkmxMEAACgkQAlpOsGhXcE3sKQCffyDf0CMMOK+egnVSASaJ4X2O
V9YAnRH3Veh7//YyT7L0rGcMXKXc4xvu
=ZIuu
-END PGP SIGNATURE-


Re: [PATCH] mod_dbd with more than one pool

2009-03-06 Thread Graham Leggett

Kevac Marko wrote:


There are some bugs in non-threaded build. I am fixing them right now.


Another quick request: is it possible to update the apr_dbd end user 
documentation to show the additional container directive, and to explain 
how the module should work?


Regards,
Graham
--



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [PATCH] mod_dbd with more than one pool

2009-03-06 Thread Kevac Marko
There are some bugs in non-threaded build. I am fixing them right now.

-- 
Marko Kevac


Re: ap_error_log bogisity

2009-03-06 Thread William A. Rowe, Jr.

Joe Orton wrote:

(cc'ing d...@apr since that's where the vformatter lives)

On Thu, Mar 05, 2009 at 12:54:13AM -0600, William Rowe wrote:

Trying to come up with ways to process large entries without
so much copying.

My thought for 2.4 is to introduce an apr_vformatter code
modifier, '#', into the s syntax.  e.g. %#s would normalize
any control codes into \x## or \c syntax, as appropriate.
And %#.10s would print a fixed 10 char string including \0
characters (a problem I encountered trying to make dumpio
a little more efficient).


It does sound tempting - is there a one-size-fits-all escaping logic, 
though?  Not sure where you'd stop otherwise... what about non-ASCII 
characters...  why not have the HTML-escaping logic in there too?  There 
are what, four different string-escaping routines in httpd now? It's 
quite a lot of code.


That's my big concern; which size is 'typical'?  I've tried to
get at two underlying concerns; efficiency, and fixed strings
which contain legitimate \0's.

In sprintf, '#' designates alternate, numerical representations.
And in this case that's exactly what we want, mapping of all of
non-printing text into numeric escapes.  Which begs the question,
what is non-printing :-?  So I'm trying not to bend things, that
much, and to conform to any sscanf attribute parser in the compiler.

But immediately offhand, you'll recognize that the single and double
hash quotation marks are common targets for \ escaping, and so the
first question to answer is; what to do with them?

It does seem like vformatter + callout would be a pretty useful
thing as we struggle with this sort of thing.

Bill



Re: ap_error_log bogisity

2009-03-06 Thread Joe Orton
(cc'ing d...@apr since that's where the vformatter lives)

On Thu, Mar 05, 2009 at 12:54:13AM -0600, William Rowe wrote:
> Trying to come up with ways to process large entries without
> so much copying.
>
> My thought for 2.4 is to introduce an apr_vformatter code
> modifier, '#', into the s syntax.  e.g. %#s would normalize
> any control codes into \x## or \c syntax, as appropriate.
> And %#.10s would print a fixed 10 char string including \0
> characters (a problem I encountered trying to make dumpio
> a little more efficient).

It does sound tempting - is there a one-size-fits-all escaping logic, 
though?  Not sure where you'd stop otherwise... what about non-ASCII 
characters...  why not have the HTML-escaping logic in there too?  There 
are what, four different string-escaping routines in httpd now? It's 
quite a lot of code.

Regards, Joe