Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Maximum threads for Http Server #55

Closed
rragu opened this issue May 31, 2016 · 1 comment
Closed

Maximum threads for Http Server #55

rragu opened this issue May 31, 2016 · 1 comment

Comments

@rragu
Copy link

rragu commented May 31, 2016

Hi,

How many maximum threads can be created for Http Server. As it said 4 over in the code.

HttpServer server(8002, 4);

Also i want to know what is the maximum length of response data.

Thanks in advance.

@eidheim
Copy link
Owner

eidheim commented Jun 3, 2016

Sorry for the late reply, but there is no max threads or maximum length of response data other than OS restrictions and memory size. Use flush as shown in the default_resource example if you are sending really large responses though.

@eidheim eidheim closed this as completed Jun 29, 2016
iofo pushed a commit to iofo/Simple-Web-Server that referenced this issue Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants