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.
Any idea if that’s possibl
On Tue, Apr 14, 2020 at 11:16 AM Sébastien Mizrahi 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 req
Thanks a lor Eric !
Gonna read this :)
Le 14 avr. 2020 à 17:20 +0200, Eric Covener , a écrit :
On Tue, Apr 14, 2020 at 11:16 AM Sébastien Mizrahi 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
Hey Eric just a feedback to confirm that it just works as expected.
Thanks again !
Client from https://www.geeksforgeeks.org/socket-programming-cc/
Apache module :
int socket_process_connection(conn_rec *req) {
printf(« Conn init\n");
apr_socket_t *asock = ap_get_conn_socket(req);
int fd = 0;
apr