BytesClub / serverX

A HTTP/HTTPS Web Server Handler by (C) Bytes Club
Other
3 stars 3 forks source link

Thread: Allow multiple simultaneous connections #15

Closed rubencm closed 7 years ago

rubencm commented 7 years ago

I have removed client socket from globals, now each thread have his own client socket, so the server can manage multiple client sockets at the same time.

Fixes #14

0xTheProDev commented 7 years ago

@rubencm Just for Contributing Guideline, can you add a short description with a signoff?

rubencm commented 7 years ago

You can check how it works by hardcoding a sleep in the php file or in the process.c, and doing multiple requests

0xTheProDev commented 7 years ago

@rubencm I am already putting in test suits. The contribution standard of Bytes Club asks to put commit messages in the following form:

shortlog: commit title

commit description
Signed-off-by: Name <email>

Ref: doc

rubencm commented 7 years ago

Edit: ok, i see, you have merged it manually or something

0xTheProDev commented 7 years ago

Yes, since I pulled your commit on my local machine, I merged it here. Good job :+1: