Re: TCP socket wothout HTTP protocol

2020-06-04 Thread Sébastien Mizrahi
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

Re: TCP socket wothout HTTP protocol

2020-06-04 Thread Sébastien Mizrahi
[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

Re: TCP socket wothout HTTP protocol

2020-06-04 Thread Yann Ylavic
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 >