-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the vweb http server multithreaded + epoll/kqueue. Move it to net/http/server.v #7000
Comments
|
Not sure what you are asking. The server is in the vweb.v right now, it has to be moved to http/server.v, |
There's already a |
Again, it has to be moved to http/server.v, http module. I think I made it very clear. http module doesn't have the server. |
So it will be |
Correct. |
Moving it into net.http will burden all http clients with a web server implementation too. |
@spytheman you said the same thing we already did. Did you misspelled something? |
No... The previous discussions was to put it in |
Hmm |
V's stdlib imitates Go's stdlib, which is now a standard. In Go, it's all in one module |
The only effect is having unused code in the final executable. If you're just writing a client, you don't need (and will never call) the server code. Perhaps this will be optimized out, perhaps not. Depends on the backend. |
Unused functions will not be added to the final executable. @joe-conigliaro did some work on that and will wrap it up at some point soon. |
Very nice. Will it be done before backend is called, so it applies to all? |
Yes. |
No description provided.
The text was updated successfully, but these errors were encountered: