Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.479.988 Times

mod_diagnostics.c 

  Date Added: July 22, 2010  |  Visits: 1.000

mod_diagnostics.c

Report Broken Link
Printer Friendly Version


Product Homepage
Download (90 downloads)



mod_diagnostics is a debugging and diagnostic tool for application developers - particularly filter modules. mod_diagnostics.c can be inserted anywhere in the Apache filter chain, and logs traffic (buckets and brigades) passing through. It is a purely passive watcher, and will never touch the traffic passing through. Examples Probably the best way to explain mod_diagnistics is by example. Strange delays in some browsers In an update to mod_xml, a new bug was introduced. It was not immediately obvious, but in some browsers the request would hang and then timeout. The effect was only observed when using the XSLT output filter with Xalan-C, and only happened with HTTP/1.1 browser, not with HTTP/1.0. Furthermore, hitting "cancel" before the timeout in an HTTP/1.1 browser would cause the page to display! Inserting mod_diagnostics before and after the offending filter, the bug was immediately obvious. The module was simply failing to pass an EOS bucket down the chain. A trivial fix! Obscure bug in a third-party library A user of mod_proxy_html reported serious performance problems when parsing an 8Mb HTML file. He had profiled the problem, and found the entire processing time was in the final call to htmlParseChunk in libxml2. I investigated this by inserting mod_diagnostics before and after mod_proxy_html, and running it with the largest HTML document I had available (the MySQL manual, about 2.6Mb). I was able to confirm that nothing was passed down the chain until the final call, so not only was it slow, but it had also broken Apache pipelining. To refine the diagnosis, I added a flush in each call to the filter in mod_proxy_html. Now mod_diagnostics showed a small amount of data (under 1Kb) coming through in the first call to the filter, but nothing else until the end. Further investigation showed that the data stopped coming when the first HTML comment was encountered in the source. At this point I ran it under gdb, looking for the comment handling. I found that it was failing to find the end of the comment. The problem was resolved only in the last call to htmlParseChunk, which didnt go through the buggy code. I disabled the buggy code, and found it was now working correctly, with approximately the same amount of input and output data in each call to the mod_proxy_html filter - so pipelining was now fixed. My correspondent reported total processing Time for his 8Mb file reduced from 30 minutes to 9 seconds (on five-year-old hardware). The bug was reported to the libxml team, who have now fixed it..

Requirements: No special requirements
Platforms: Linux
Keyword: Application Developers Diagnostic Tool Diagnostics Filter Html Http Internet Mod Mod Diagnostics C Moddiagnostics C Particularly Proxy Tool Tool For Application Developers
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


MOD_DIAGNOSTICS.C RELATED
Misc. Information Databases  -  Reflux Diagnostic Tool 1.0
The diagnostic tool can pinpoint common causes and cure for chronic reflux and heartburn based on your lifestyle, symptoms and physical condition. In most cases, acid reflux and GERD are merely a symptom of underlying digestive problems caused...
4 KB  
Utilities  -  Docsis cable modem diagnostic 0.2
This is a Docsis cable modem diagnostic tool for Linux and FreeBSD, it can get information from Docsis 1.0 , 1.1 and 2.0 cable modems. It gathers information from the cable modem via SNMP and displays various cable parameters in real time.
10.24 KB  
Programming  -  miMas - GUI tool for SQL developers 1.0
miMas is an intuitive GUI tool for SQL query development and data browsing. It provides a common set of features across all databases and can be installed on any Operating System which has a Java Runtime available. The tool uses JDBC drivers for...
7.08 MB  
Business  -  Shokado Web Sharing Tool for Bento 2.4
Shokado Web Sharing Tool for Bento is a web application that lets you share your Bento database on your local network using the built-in web sharing capability of Max OS X 10.5 Leopard. By Mark Burgess.
61.44 KB  
HTML Utilities  -  SEO Tool For Meta Tags 1
SEO Tool For Meta Tags is a small script that instantly generates meta tags for the user. It allows you offer a neat little service to your website visitors. They simply sumbit their site's title, description, and keywords & presto, out comes...
1024 B  
Database Tools  -  Tool for Organizing Your Schemas (TOYS) 1.0.38
A Microsoft Windows tool for comparing, synchronizing and documenting Oracle database schemas. The tool facilitates taking snapshots of the database structure (meta-data) and saving these snapshots as XML files. Snapshots can be compared to...
2.08 KB  
Virus Scanners  -  Avira AntiVir Removal Tool for Windows 3.0
Avira AntiVir Removal Tool for Windows is a free, easy-to-use disinfection tool, specifically designed to remove a series of security threats from your system, such as Worm.Sober.J/P/Y and W32.Stanit.A, Worm/NetSky.P Repairing function: it fixes...
356 KB  
Database Tools  -  Tool for Organizing Your Schemas 1.0.17
A Microsoft Windows tool for comparing Oracle database schemas. The tool facilitates taking snapshots of the database structure (meta-data) and saving these snapshots as XML files. Snapshots can be compared to determine what has changed over time....
1.95 MB  
Security Tools  -  HXTT Checksum Tool for MD5 1.0
HXTT Checksum Tool for MD5 is a free toolkit for MD5 (Message Digest 5). That freeware should work on any platform that supports Java.
 
Specialized Tools  -  Free SEO Tool for Article and Keywords 0.3
A free SEO Tool for a better content / text of the web page. With different articles or search-words, Tools is this free SEO Tool equipped. No matter whether automatic sentences mix one or want to let generated search-words. Functions like mixes...
390 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB  
Network & Internet  -  SQL Inject Me 0.4.5
SQL Inject Me is a Firefox extension used to test for SQL Injection vulnerabilities. The tool works by submitting your HTML forms and substituting the form value with strings that are representative of an SQL Injection attack.
133.12 KB