httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tero Armando De La Rosa <>
Subject [users@httpd] mod_ext_filter with Mono problem
Date Wed, 13 Apr 2016 09:59:47 GMT


I'm trying to create a simple Mono program that is configured as an external filter that simply
reads from stdin and writes to stdout a modified version of a media file (images, videos...).

Prior to reading from stdin I'm trying to craft a POC which simply replaces all requests'
content with a hardcoded file ("Capture.PNG" in my case).

The problem is that a timeout always occurs when I do this.

[Wed Apr 13 11:26:51.906231 2016] [ext_filter:error] [pid 1899:tid 139929490360064] (70007)The
timeout specified has expired: [client] AH01466: apr_file_read(child output),
len 18446744073709551615
[Wed Apr 13 11:26:51.906342 2016] [ext_filter:error] [pid 1899:tid 139929490360064] (70007)The
timeout specified has expired: [client] AH01468: ef_unified_filter() failed

However, if I replace the filter line with this: "/bin/cat /var/www/html/Capture.PNG" it will
always work correctly.

Can anyone shed some light on this? Thank you in advance.

PD. Find enclosed the source code and apache configuration I'm using. I'm also running Apache
2.4.7 on Ubuntu Server 14.04 which comes by default.

View raw message