Thanks Yann that was exactly what I was looking for ! Now works great !
Le 4 juin 2020 à 12:50 +0200, Yann Ylavic , a écrit :
On Thu, Jun 4, 2020 at 12:26 PM Sébastien Mizrahi wrote:
In apache, the ap_hook_process_connection is not called until content is sent
on socket, ap_hook_pre_connection a
On Thu, Jun 4, 2020 at 12:26 PM Sébastien Mizrahi wrote:
>
> In apache, the ap_hook_process_connection is not called until content is sent
> on socket, ap_hook_pre_connection and ap_hook_create_connection are called
> only after 10 seconds in this case. I would like to have a hook called when
>
[sorry mail has been sent too quick]
Another not desired behavior related :
The ap_hook_process_connection is not called until client stops. In the client,
got this code :
int main(int argc, char const *argv[])
{
int sockfd, connfd;
struct sockaddr_in servaddr, cli;
sockfd = socket(AF_INET, SO
Another not desired behavior related :
The ap_hook_process_connection is not called until client stops. In the client,
the
Seb.
Le 14 avr. 2020 à 19:46 +0200, Sébastien Mizrahi , a écrit :
Hey Eric just a feedback to confirm that it just works as expected.
Thanks again !
Client from https://www
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
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
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
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