libevent
libevent copied to clipboard
Event notification library
This adds few functions to use evhttp-based webserver to handle incoming WebSockets connections. We've tried to use both libevent and libwebsockets in our application, but found that we need to...
Steps to reproduce: ``` $ docker run -it ubuntu:20.04 # apt update # apt install -y build-essential cmake git # cmake --version cmake version 3.16.3 # git clone https://github.com/libevent/libevent #...
In it's current form, libevent requires multiple `struct evhttp` objects to be created in order to enable listening on sockets with more than one type of encryption. This change allows...
See: https://github.com/Neilpang/libevent/runs/7703531793?check_suite_focus=true I'm not sure if this is expected or a bug. 
libevent-2.1.11-stable evhttp_make_request return -1 evhttp_connection_connect_ return -1 bufferevent_enable -1 bufev->be_ops->enable -1 bev_async->ok is 0 bev_async->ok set 1 in bufferent_async::connect_complete => bufferent_async::bufferevent_async_set_connected_ execute this after connect complete, but http suspend(bev_async->ok 0)...
I have created an http echo server based on the sample "http-server.c" and I have an issue. If I use the line `event_config_set_flag(cfg, EVENT_BASE_FLAG_STARTUP_IOCP); ` the client does not receive...
In function 'HT_GROW', there may be a bug. ```c++ do { \ new_len = name##_PRIMES[++prime_idx]; \ new_load_limit = (unsigned)(load*new_len); \ } while (new_load_limit
Currently, just about every file sits in the root directory. Cool, but old-school. Full transparency: this is a change that works very well for cmake based building. But it applies...
### Release checklist - [ ] update changelog - [ ] bump versions - [ ] release with github login tags ### CI - [x] [mingw cmake failures](https://github.com/libevent/libevent/runs/1088210241) - #1267,...
``` WARNING: ThreadSanitizer: heap-use-after-free (pid=4275) Read of size 8 at 0x7b54000066d0 by main thread: #0 event_del_ /home/runner/work/libevent/libevent/event.c:2813:32 (libevent_core-2.2.so.1+0x480bf) #1 event_del /home/runner/work/libevent/libevent/event.c:2830:9 (libevent_core-2.2.so.1+0x44a8d) #2 delete_all_in_dlist /home/runner/work/libevent/libevent/evmap.c:672:3 (libevent_core-2.2.so.1+0x57b00) #3 evmap_io_delete_all_iter_fn /home/runner/work/libevent/libevent/evmap.c:681:9 (libevent_core-2.2.so.1+0x55849)...