Re: What happened to the Apache 2 cross reference?
ok, take a look at http://www.hobthross.com/docs/apache2/srcdoc/ and try out the search now. By default, it will do partial-word matching e.g. strdup matches apr_strdup, etc, and if you want the exact word only, you can choose that option. I'm still futzing around with the stylesheets and layout, so they may change, but I'd be interested to see what you think... One thought I have is whether it would be worth modifying the layout so it enforced the line breaks for a clearer layout. Rachel
Re: ap_process_connection
You're talking about Apache hooks? The ap_process_connection() and process_connection hook is not same. Anyway, it is toofast togiveup Apache hook macro^^; Hook macro is in the APU Hooks' section. Go there and copypaste the macro, then write a simple test code inyour own. Make use ofGCC's -E option or --save-temps option.You can see a macro result in screen or file in /tmp directory. I was verysurprised whenI looked at Hook macro. If you understand the Hook macro, surprising perhaps :) ps) Hook is most likely same with OOP event. Except that it isn't REALLY defined there. The use of all these macrosis giving me a headache. There are a number of papers out there on whythis kind of macro (ab)use is bad, mainly because it makes it impossibleto understand the code.server/connection.c has this:AP_IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec*c),(c),DECLINED)Well what the heck does that do? There's no function body definedthere. I'm guessing that macro does some tricks to achieve somethinglike polymorphism in C, binding an object to a set of functions thatshould be called in a given event. I can't see what function is beingbound to the process_connection event though.When I looked up the definition of this macro, it is itself definedusing another macro. My eyes have now gone crossed. Maybe I'll try tounderstand these evil mac ros later.__두 유 야후!?스팸때문에 짜증나세요? 야후! 메일의 스팸 차단 기술로 메일을 보호합니다 http://mail.yahoo.co.kr
Re: What happened to the Apache 2 cross reference?
Rachel Willmer wrote: ok, take a look at http://www.hobthross.com/docs/apache2/srcdoc/ and try out the search now. By default, it will do partial-word matching e.g. strdup matches apr_strdup, etc, and if you want the exact word only, you can choose that option. Better. Although the search results are nearly incomprehensible without line breaks. Or maybe its just firefox. I actually liked the results layout that the old version had. The results were wrong most of the time, but it was easier to read, it linked directly to the relevant line(s), and sorted the results by type (declaration, useage, files, etc). BTW, here's another page I found that looks like its based off the same backend, but I can't seem to replicate it using the link you sent. I think I'm just missing something. http://apr.apache.org/docs/apr/group__apr__strings.html I'm still futzing around with the stylesheets and layout, so they may change, but I'd be interested to see what you think... Frames are evil :)
mod_mbox bug squashing
Hi, As the Summer Of Code deadline approaches, I'd like to put mod_mbox to the test in order to fix as many bugs as possible. If you are willing to help, here follows some useful information : - mod_mbox offers an AJAX browser (YY.mbox/browser) for dynamic archive browsing to Javascript capable browsers. Still, the AJAX browser is known to be working only in Gecko-based browser for the moment. - Whatever your browser is, if the AJAX browsing interface does not work for you, fall back to flat mode by deactivating Javascript or changing the URL from YY.mbox/browser to YY.mbox/thread - Please submit reports as answers to this thread, including your operating system version, your browser version and the URL where you noticed the problem. If it's in the AJAX browsing interface, please give the month, year, and relevant mail information (author, date and subject). The latest version of mod_mbox running an up-to-date rsync of the httpd-dev mail archives is available at http://skikda.bulix.org/archives/dev/ Thanks for your help, - Sam -- Maxime Petazzoni (http://www.bulix.org) -- gone crazy, back soon. leave message. signature.asc Description: Digital signature
Re: [PATCH] mod_disk_cache deterministic tempfiles
Justin Erenkrantz wrote: For a disk cache it would be tricky to discern between a cached file that is half there due to a sudden httpd exit, and a cached file that is half there because a proxy or CGI backend is blocking. Exactly. This is why I've avoided this functionality. I don't think it can be implemented effectively or efficiently. I don't think this is a problem that needs complex error handling at all. In the current situation, if the backend stalls, one frontend client will stall. If the in flight cache object is shared, then if the backend stalls, more than one frontend client will stall. This is a lesser evil than the current behaviour, where thundering herd hits the backend every time a resource expires, which in the case of typical news sites, is once every sixty seconds. In both cases, at least one client will eventually get impatient and force reload that particular resource. This will invalidate the in flight object, and the cache process is retried again. If the proxy gets impatient and times out the backend, it will invalidate the in flight object, and signal to the frontend to close the connections. The clients will simply try refetch the object, something they would have to do anyway. I absolutely dislike the idea of stalling a request because another worker/thread *might* be fetching it. We should never purposely stall a request because another worker *might* have a request outstanding. In this case it's not might, it's almost always. Any connection already faces the very small possiblity that it might hang. That very small possiblity increasing in chance by a few simultaneous connections is still a minimal risk than the certainty of thundering herd. Regards, Graham --
XML docs in release tarballs
dist/tools/roll.sh currently has; echo echo Removing Manual Files. echo find $dirname/docs/manual -name \*.xml -print | xargs rm -rf Which is incompatible with the current layout of docs, but which is the right way to fix it? Just remove the rm entirely, or remove all of the XML files more thouroughly? Why remove the XML files at all? it's not like they take up much space, and they compress super efficiently when you consider most of the text has a verbatim copy in the HTML version. -- Colm MacCárthaighPublic Key: [EMAIL PROTECTED]
Re: mod_mbox bug squashing
Maxime Petazzoni wrote: Hi, As the Summer Of Code deadline approaches, I'd like to put mod_mbox to the test in order to fix as many bugs as possible. If you are willing to help, here follows some useful information : - mod_mbox offers an AJAX browser (YY.mbox/browser) for dynamic archive browsing to Javascript capable browsers. Still, the AJAX browser is known to be working only in Gecko-based browser for the moment. - Whatever your browser is, if the AJAX browsing interface does not work for you, fall back to flat mode by deactivating Javascript or changing the URL from YY.mbox/browser to YY.mbox/thread - Please submit reports as answers to this thread, including your operating system version, your browser version and the URL where you noticed the problem. If it's in the AJAX browsing interface, please give the month, year, and relevant mail information (author, date and subject). The latest version of mod_mbox running an up-to-date rsync of the httpd-dev mail archives is available at http://skikda.bulix.org/archives/dev/ I played around with this a bit, and I have a few comments. 1) It looks very cool, much nicer than the existing mod_mbox UI. 2) The way you let the user page through different parts of a given month is easy to miss. It took me a while to notice that the 1 2 3 4 links were up at the top. Adding next and prev links at the top and bottom would solve that problem. 3) In the AJAX UI visiting a link doesn't result in it being marked as visited in the same way that visiting a link in the non-AJAX UI does. If there's some CSS/JavaScript magic that can fix that it would be a good thing, as it's useful when searching through large amounts of mail to see where you've already looked. 4) The Back button is broken in the AJAX view, but you probably already knew that. Don't know if there's much that can be done about it. 5) If you know that the AJAX view only works in Gecko based browsers do you plan on sniffing the browser type and redirecting to the non-AJAX view in that case? This is probably a bit of a controversial subject, but it seems like the kind of thing that would have to be resolved before the ASF could roll something like this out. -garrett
Re: XML docs in release tarballs
* Colm MacCarthaigh wrote: dist/tools/roll.sh currently has; echo echo Removing Manual Files. echo find $dirname/docs/manual -name \*.xml -print | xargs rm -rf Which is incompatible with the current layout of docs, but which is the right way to fix it? Hmm. What's the incompatibility? Why remove the XML files at all? it's not like they take up much space, and they compress super efficiently when you consider most of the text has a verbatim copy in the HTML version. I suggest measuring. IMHO, the docs are way too large for complete inclusion, anyway. We should consider to remove them from the code tarballs and point the people to the packages in http://www.apache.org/dist/httpd/docs/. nd -- Already I've seen people (really!) write web URLs in the form: http:\\some.site.somewhere [...] How soon until greengrocers start writing apples $1\pound or something? -- Joona I Palaste in clc
Re: mod_mbox bug squashing
Hi, 1) It looks very cool, much nicer than the existing mod_mbox UI. Thanks, that was the main goal of httpd-mbox-if, I'm happy to hear that people find the new version nice and good-looking. 2) The way you let the user page through different parts of a given month is easy to miss. It took me a while to notice that the 1 2 3 4 links were up at the top. Adding next and prev links at the top and bottom would solve that problem. I've added Previous and Next links to the page selector. How is it ? 3) In the AJAX UI visiting a link doesn't result in it being marked as visited in the same way that visiting a link in the non-AJAX UI does. If there's some CSS/JavaScript magic that can fix that it would be a good thing, as it's useful when searching through large amounts of mail to see where you've already looked. I've already took a look to this problem, and I don't think we can solve them. Switching a link (a a markup) to the Css meta-class :visited does not seem to be possible in Javascript. Furthermore, changing link's color could be good, but they will disappear as soon as you reload the AJAX browsing interface ... 4) The Back button is broken in the AJAX view, but you probably already knew that. Don't know if there's much that can be done about it. What do you expect the back button to do ? Since we don't change the page, the browser won't help you here. As you've said, there's not much we can do here. 5) If you know that the AJAX view only works in Gecko based browsers do you plan on sniffing the browser type and redirecting to the non-AJAX view in that case? This is probably a bit of a controversial subject, but it seems like the kind of thing that would have to be resolved before the ASF could roll something like this out. I'll try to make the AJAX view work on as many browser as possible. I'd like it to work on Konqueror and Opera. The IE problem does not seem to be fixable. I think I'm going to put a link into the Loading... box to the flat version, so if the browser get stuck to the loading part, the user can fall back into flat mode. I'm also working on XHTML validation. Thanks a lot for your comments, - Sam -- Maxime Petazzoni (http://www.bulix.org) -- gone crazy, back soon. leave message. signature.asc Description: Digital signature
Bug report for Apache httpd-1.3 [2005/08/28]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 8329|New|Nor|2002-04-20|mime_magic gives 500 and no error_log on Microsoft| | 8372|Ass|Nor|2002-04-22|Threadsaftey issue in Rewrite's cache [Win32/OS2/N| | 8849|New|Nor|2002-05-07|make install errors as root on NFS shares | | 8882|New|Enh|2002-05-07|[PATCH] mod_rewrite communicates with external rew| | 9037|New|Min|2002-05-13|Slow performance when acessing an unresolved IP ad| | 9126|New|Blk|2002-05-15|68k-next-openstep v. 4.0 | | 9726|New|Min|2002-06-09|Double quotes should be flagged as T_HTTP_TOKEN_ST| | 9894|New|Maj|2002-06-16|getline sub in support progs collides with existin| | |New|Nor|2002-06-19|Incorrect default manualdir value with layout.| |10038|New|Min|2002-06-20|ab benchmaker hangs on 10K https URLs with keepali| |10073|New|Maj|2002-06-20|upgrade from 1.3.24 to 1.3.26 breaks include direc| |10169|New|Nor|2002-06-24|Apache seg faults due to attempt to access out of | |10178|New|Maj|2002-06-24|Proxy server cuts off begining of buffer when spec| |10195|New|Nor|2002-06-24|Configure script erroneously detects system Expat | |10199|New|Nor|2002-06-24|Configure can't handle directory names with unders| |10243|New|Maj|2002-06-26|CGI scripts not getting POST data | |10354|New|Nor|2002-06-30|ErrorDocument(.htaccess) fails when passed URL wit| |10446|Opn|Blk|2002-07-03|spaces in link to http server seen as foreign char| |10470|New|Cri|2002-07-04|proxy module will not correctly serve mixed case f| |10666|New|Enh|2002-07-10|line-end comment error message missing file name | |10744|New|Nor|2002-07-12|suexec might fail to open log file| |10747|New|Maj|2002-07-12|ftp SIZE command and 'smart' ftp servers results i| |10760|New|Maj|2002-07-12|empty ftp directory listings from cached ftp direc| |10939|New|Maj|2002-07-18|directory listing errors | |11020|New|Maj|2002-07-21|APXS only recognise tests made by ./configure | |11236|New|Min|2002-07-27|Possible Log exhaustion bug? | |11265|New|Blk|2002-07-29|mod_rewrite fails to encode special characters| |11765|New|Nor|2002-08-16|.apaci.install.tmp installs in existing httpd.conf| |11986|New|Nor|2002-08-23|Restart hangs when piping logs on rotation log pro| |12096|New|Nor|2002-08-27|apxs does not handle binary dists installed at non| |12574|New|Nor|2002-09-12|Broken images comes from mod_proxy when caching ww| |12583|New|Nor|2002-09-12|First piped log process do not handle SIGTERM | |12598|Opn|Maj|2002-09-12|Apache hanging in Keepalive State | |13188|New|Nor|2002-10-02|does not configure correctly for hppa64-hp-hpux11.| |13274|Ass|Nor|2002-10-04|Subsequent requests are destroyed by the request e| |13607|Opn|Enh|2002-10-14|Catch-all enhancement for vhost_alias?| |13687|New|Min|2002-10-16|Leave Debug symbol on Darwin | |13822|New|Maj|2002-10-21|Problem while running Perl modules accessing CGI::| |14095|Opn|Nor|2002-10-30|Change default Content-Type (DefaultType) in defau| |14250|New|Maj|2002-11-05|Alternate UserDirs don't work intermittantly | |14443|New|Maj|2002-11-11|Keep-Alive randomly causes TCP RSTs | |14448|Opn|Cri|2002-11-11|Apache WebServer not starting if installed on Comp| |14518|Opn|Nor|2002-11-13|QUERY_STRING parts not incorporated by mod_rewrite| |14670|New|Cri|2002-11-19|Apache didn't deallocate unused memory| |14748|New|Nor|2002-11-21|Configure Can't find DBM on Mac OS X | |15011|New|Nor|2002-12-03|Apache processes not timing out on Solaris 8 | |15028|New|Maj|2002-12-03|RedirectMatch does not escape properly| |15242|New|Blk|2002-12-10|mod_cgi prevents handling of OPTIONS request | |16236|New|Maj|2003-01-18|Include directive in Apache is not parsed within c| |16241|New|Maj|2003-01-19|Apache processes takes 100% CPU until killed manua| |16492|New|Maj|2003-01-28|mod_proxy doesn't correctly retrieve values from C|
Bug report for Apache httpd-2.0 [2005/08/28]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 7483|Ass|Enh|2002-03-26|Add FileAction directive to assign a cgi interpret| | 7741|Ass|Nor|2002-04-04|some directives may be placed outside of proper co| | 7862|New|Enh|2002-04-09|suexec never log a group name.| | 8483|Inf|Min|2002-04-24|apache_2.0 .msi installer breaks .log and .conf fi| | 8713|New|Min|2002-05-01|No Errorlog on PROPFIND/Depth:Infinity| | 8925|New|Cri|2002-05-09|Service Install (win32 .msi/.exe) fails for port i| | 9727|New|Min|2002-06-09|Double quotes should be flagged as T_HTTP_TOKEN_ST| | 9903|Opn|Maj|2002-06-16|mod_disk_cache does not remove temporary files| | 9945|New|Enh|2002-06-18|[PATCH] new funtionality for apache bench | |10114|Ass|Enh|2002-06-21|Negotiation gives no weight to order, only q value| |10154|Ass|Nor|2002-06-23|ApacheMonitor interferes with service uninstall/re| |10722|Opn|Nor|2002-07-12|ProxyPassReverse doesn't change cookie paths | |10775|Ass|Cri|2002-07-13|SCRIPT_NAME wrong value | |10932|Opn|Enh|2002-07-18|Allow Negative regex in LocationMatch | |11035|New|Min|2002-07-22|Apache adds double entries to headers generated by| |11294|New|Enh|2002-07-30|desired vhost_alias option| |11427|Opn|Maj|2002-08-02|Possible Memory Leak in CGI script invocation | |11540|Opn|Nor|2002-08-07|ProxyTimeout ignored | |11580|Opn|Enh|2002-08-09|generate Content-Location headers | |11971|Opn|Nor|2002-08-23|HTTP proxy header Via with wrong hostname if Ser| |11997|Opn|Maj|2002-08-23|Strange critical errors possibly related to mpm_wi| |12033|Opn|Nor|2002-08-26|Graceful restart immidiately result in [warn] long| |12340|Opn|Nor|2002-09-05|WindowsXP proxy, child process exited with status | |12355|Opn|Nor|2002-09-06|SSLVerifyClient directive in location make post to| |12680|New|Enh|2002-09-16|Digest authentication with integrity protection | |12885|New|Enh|2002-09-20|windows 2000 build information: mod_ssl, bison, et| |13029|New|Nor|2002-09-26|Win32 mod_cgi failure with non-ASCII characters in| |13101|Inf|Cri|2002-09-27|Using mod_ext_filter with mod_proxy and http/1.1 c| |13507|New|Enh|2002-10-10|capturing stderr from mod_cgi | |13577|New|Maj|2002-10-13|mod_proxy mangles query string with mod_rewrite | |13599|Ass|Nor|2002-10-14|autoindex formating broken for multibyte sequences| |13603|New|Nor|2002-10-14|incorrect DOCUMENT_URI in mod_autoindex with Heade| |13661|Ass|Enh|2002-10-15|Apache cannot not handle dynamic IP reallocation | |13946|Inf|Nor|2002-10-24|reverse proxy errors when a document expires from | |13986|Ass|Enh|2002-10-26|remove default MIME-type | |14016|Inf|Nor|2002-10-28|Problem when using mod_ext_filter with ActivePerl | |14090|New|Maj|2002-10-30|mod_cgid always writes to main server error log | |14206|New|Nor|2002-11-04|DirectoryIndex circumvents -FollowSymLinks option | |14227|Ass|Nor|2002-11-04|Error handling script is not started (error 500) o| |14335|Opn|Enh|2002-11-07|AddOutputFilterByType doesn't work with proxy requ| |14496|New|Enh|2002-11-13|Cannot upgrade 2.0.39 - 2.0.43. Must uninstall fi| |14556|Inf|Nor|2002-11-14|mod_cache with mod_mem_cache enabled doesnt cash m| |14750|Inf|Maj|2002-11-21|Windows 9x: apr_socket_opt_set cannot set SO_KEEPA| |14858|New|Enh|2002-11-26|mod_cache never caches responses for requests requ| |14922|Ass|Enh|2002-11-28|target is currently hardcoded to 'apache2' | |15045|Ass|Nor|2002-12-04|addoutputfilterbytype doesn't work for defaulted t| |15221|New|Nor|2002-12-10|reference to old script: sign.sh | |15233|Opn|Nor|2002-12-10|move AddType application/x-x509-ca-cert from ssl.c| |15235|New|Nor|2002-12-10|add application/x-x509-email-cert, application/x-x| |15625|New|Nor|2002-12-23|mention mod_ssl in http://nagoya.apache.org/dist/h| |15626|New|Nor|2002-12-23|mention which modules are part of the (binary) dis|
Re: What happened to the Apache 2 cross reference?
Brandon Fosdick wrote: For a month or two now I've been using the cross reference that was linked from the developer documentation page. Then it went away for awhile and now its back with some weird crippled version that can't do wild card searches for identifiers. The source navigation is broken too. eg. If you try to decend into the modules/dav/fs directory you get sent back to the top. What happened? If you are refering to http://docx.webperf.org http://lxr.webperf.org they suffered a machine move. http://docx.webperf.org is back up now (and looks a bit prettier IMHO) http://lxr.webperf.org will be fixed in the next week or so. I'm might take Rachel's queue and stick some ads on the page, I can use the extra $1 or 2 it will make. regards ian
Re: Doxygen
Hi Neale. I'll go through and review the patch today. I'll try to get it commited in a couple of hours. Neale Ranns wrote: Sander, I put a patch here (http://www.ranns.org/~ndrr/apache2/), it's kinda big to be emailing to all. There is also a tar ball there of the html files if anyone would like a copy. i am working from an up to date version of the svn trunk. thnaks neale On Fri, 2005-08-19 at 19:05, Sander Temme wrote: Hi Neale, On Aug 19, 2005, at 7:55 AM, Neale Ranns wrote: Over the past few days i've been reading around the source code and improving the doxygen documentation. You can see the results here. http://www.ranns.org/~ndrr/apache2/dox/html/index.html Very cool. Could you produce a patch using diff -u? What version of the source code are you working with? Thanks, Sander Essentially what i have done is: 1) change all the @package (since these generate Namespaces) to @defgroup (which produces the grouping in the Modules page) 2) Added lots more @defgroup to get the module grouping on the Modules page 3) Add a @file and @brief to each header file to improve the File List page 4) Did some improvements to function and struct declarations; though by no means all. There is a long way to go. 5) lastly i changed the doxygen.conf file: a) to make the output searchable b) to extract everything (otherwise the undocumented stuff is left out) c) added a hack so the CORE_PRIVATE stuff is included d) fixed the STRIP_FROM_PATH problem, by setting it to STRIP_FROM_PATH= which implies, the directory from which doxygen is run. It is possible to do with autoconf but more complicated. comments always welcome :) thanks neale
Re: mod_mbox bug squashing
Maxime Petazzoni wrote: 2) The way you let the user page through different parts of a given month is easy to miss. It took me a while to notice that the 1 2 3 4 links were up at the top. Adding next and prev links at the top and bottom would solve that problem. I've added Previous and Next links to the page selector. How is it ? Nice. Thanks. 3) In the AJAX UI visiting a link doesn't result in it being marked as visited in the same way that visiting a link in the non-AJAX UI does. If there's some CSS/JavaScript magic that can fix that it would be a good thing, as it's useful when searching through large amounts of mail to see where you've already looked. I've already took a look to this problem, and I don't think we can solve them. Switching a link (a a markup) to the Css meta-class :visited does not seem to be possible in Javascript. Furthermore, changing link's color could be good, but they will disappear as soon as you reload the AJAX browsing interface ... That's too bad, but hey, if it can't be done then it can't be done. -garrett
Re: mod_mbox bug squashing
--On August 28, 2005 7:26:16 PM +0200 Maxime Petazzoni [EMAIL PROTECTED] wrote: - mod_mbox offers an AJAX browser (YY.mbox/browser) for dynamic archive browsing to Javascript capable browsers. Still, the AJAX browser is known to be working only in Gecko-based browser for the moment. Looks really nice! Here's a few comments: It crashes Safari (Mac OS X 10.4.x) when I try to select a message in the list when I already have a message open. Ouch! With Firefox (Deer Park Alpha 2), it works. The subject summaries in 'Message List' doesn't list the month - it just says 'Monday 01, 11:03:35' - I really think we need to emit the month there. (Yes, it's on the top, but that's easy to miss.) What is the pattern for the 'Message List' for showing the next messages in the sequence? I'm not sure how many messages it is trying to show - it doesn't seem consistent to me. One feature I like is having the 'Site Index' link - this is in mod_mbox trunk. How about having the 'Mailing list archives' also having a 'site index' link so you can view what other archives are present fro that site. I agree with Garrett that having the 'next' and 'prev' links should also appear at the *bottom* of the message - this is so that when you read the message, you can then click to read the next message in the thread w/o scrolling up. Most critically, I think the 'next' and 'prev', and numbered links can become confusing when trying to read a message. If you want to read the next message in the thread - clicking the 'message list' 'next'/'prev' links brings you out. So, finding some way to resolve that to make it clearer for the user - perhaps merely adding prev/next message in 'message view' list would be good. Or, have some way of hiding (or disabling) the list navigation when we have a message view active. But, again, it looks a lot better than what we have today. Cool. -- justin