guidoreina / gwebs-plusplus Goto Github PK
View Code? Open in Web Editor NEWAsynchronous event-driven web server with HTTPS support which runs under Linux, FreeBSD and Opensolaris.
Asynchronous event-driven web server with HTTPS support which runs under Linux, FreeBSD and Opensolaris.
Hello!
net::socket s;
if (!s.connect(net::socket::STREAM, addr, TIMEOUT)) {
fprintf(stderr, "Couldn't connect.\n");
return;
}
net/socket.cpp:
51: if ((::connect(_M_fd, reinterpret_cast<const struct sockaddr*>(&addr), sizeof(socket_address)) < 0) && (errno != EINPROGRESS)) {
Solution:
51: if ((::connect(_M_fd, reinterpret_cast<const struct sockaddr*>(&addr), addr.size()) < 0) && (errno != EINPROGRESS)) {
Thanks!
Hello!
Clang: error...
net/listener.h:
13: #if _LP64
14: struct listener __final : protected socket, public io::event_handler {
Solution:
14: struct listener final : protected socket, public io::event_handler {
Thanks :)
Hello!
Couldn't create HTTP server.
FreeBSD 10.3, gcc 4.8.5 and clang 3.4.1.
Starts without problems on Debian 8.4.0.
Thanks!
[Makefile]
ifeq ($(shell uname), FreeBSD)
.........................
CXXFLAGS+=-DHAVE_SSL
LIBS=-lssl -lcrypto
Thanks :)
Hello! :)
Warning: struct 'red_black_tree' was previously declared as a class:
util/red_black_tree.h:
649: return ..........const struct red_black_tree&>(*this).minimum(x));
Warning: hides overloaded virtual function:
net/internet/http/server.h:
24: virtual bool create(const char* config_file, const char* mime_types_file);
net/tcp_server.h:28:
28: virtual bool create();
Warning: 'va_start' has undefined behavior with reference types:
util/configuration.cpp:
602: va_start(ap, valuelen);
621: va_start(ap, count);
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.