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

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

Serving Software Downloads in 976 Categories, Downloaded 30.075.792 Times

mod_diagnostics.c 

  Date Added: July 22, 2010  |  Visits: 762

mod_diagnostics.c

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 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
MOD_DIAGNOSTICS.C RELATED
Network & Internet  -  Photon 0.2
Photon provides a tool to generate HTML slides from images. Photon is a tool to manage images with a HTML slides viewer. This tool creates HTML indexes that contain one or several thumbnails and links for browsing images. It can also create...
13.31 KB  
Network & Internet  -  Deme 0.5.0
Deme is a Web tool to host asynchronous meetings including discussions, document comments and collaborations, straw polls, and decision- making for small to medium groups of people. It also provides features useful for groups including file...
307.2 KB  
Network & Internet  -  PHPObject 1.52
PHPObject provides an alternative to Flash Remoting for PHP developers. PHPObject is an open source alternative to Flash Remoting for PHP developers. With PHPObject, users can call a method of a PHP class/library on a Web server as if the...
112.64 KB  
Network & Internet  -  elhttp 0.22
elhttp provides a full-featured HTTP proxy server designed for embedded systems. Elhttp is a very light HTTP proxy server, mostly useful on embedded Linux systems such as ADSL routers. It supports HTTP 1.1 (keep-alive), the connect method,...
 
Web Browser Tools  -  FoxyProxy 2.5.3
FoxyProxy is an advanced proxy management tool that completely replaces Firefoxs proxy configuration. The extension offers more features than SwitchProxy, ProxyButton, QuickProxy, xyzproxy, ProxyTex, TorButton, etc: - Animated statusbar/toolbar...
389.12 KB  
Security Tools  -  Remove Fake Antivirus 1.83
Remove Fake Antivirus is used to remove AV Security 2012, Data Recovery, Wolfram Antivirus, Security Protection, Windows Antivirus 2011, ThinkPoint, PC Security 2011, Antivirus 8, Security Master AV, Mega Antivirus 2012, Security tool, Your PC...
233 KB  
FTP Clients  -  Robust FTP and Download Manager 5.0.0.3
Robust FTP & Download Manager is a Perfect tool for Web developers or anyone that moves files on the Internet. Ftp Client & Download Manager all in one. Features: Browser integration, Clipboard monitoring, update a Web site with a single click,...
6.59 MB  
ActiveX Components  -  PowerTCP Web Enterprise Tool 1.6.1
Use the ActiveX controls included with the PowerTCP Web Enterprise Tool to communicate with web servers using HTTP or HTTPS. This advanced HTTP control performs all standard HTTP functionality (such as performing GET and POST methods and handling...
3.66 MB  
FTP Clients  -  SC Free FTP and Download Manager 5.0.0.0
Perfect tool for Web developers or anyone that moves files on the Internet. Ftp Client & Download Manager all in one. Features: Browser integration, Clipboard monitoring, update a Web site with a single click, resume interrupted downloads or...
5.15 MB  
Networking Tools  -  ip-filter-cgi 0.1
ip-filter-cgi is a set of perl script to modify rules of IP Filter (IP Filter is a TCP/IP packet filter cf: http://coombs.anu.edu.au/~avalon/ip-filter.html). If you make any improvement, correction send it back to. The scripts is not complete and...
48.13 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
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  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 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