Giter Site home page Giter Site logo

gwebs-plusplus's People

Contributors

guidoreina avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gwebs-plusplus's Issues

Couldn't connect (FreeBSD 11.0).

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!

The special identifier "final".

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 :)

Couldn't create HTTP server.

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!

Compiling with SSL.

[Makefile]
ifeq ($(shell uname), FreeBSD)
.........................
CXXFLAGS+=-DHAVE_SSL

LIBS=-lssl -lcrypto

Thanks :)

Others.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.