On Tue, Apr 14, 2020 at 11:16 AM Sébastien Mizrahi <smizr...@v3d.fr> wrote: > > Hi, > > For some reasons, I would like to read natively TCP socket in an Apache > module. The request is not encapsulated in HTTP protocol end the client send > raw data. > I have already an apache module that manage standard HTTP request and I would > like to mutualise the code. >
The test suite has "weird" modules that are not HTTP that you might have a look at https://svn.apache.org/repos/asf/httpd/test/framework/trunk ./c-modules/nntp_like/mod_nntp_like.c is what I was thinking of. Just from seeing it scroll by. There is also mod_ftp: https://httpd.apache.org/mod_ftp/