Browse Source

[core] remove assert in fdevent_unregister()

assumptions changed: fdn->events can be 0 with server streaming
request and/or response.
personal/stbuehler/mod-csrf-old
Glenn Strauss 5 years ago
parent
commit
1cb30900f3
  1. 2
      src/fdevent.c

2
src/fdevent.c

@ -141,8 +141,6 @@ int fdevent_unregister(fdevents *ev, int fd) {
if (!ev) return 0;
fdn = ev->fdarray[fd];
force_assert(fdn->events == 0);
fdnode_free(fdn);
ev->fdarray[fd] = NULL;

Loading…
Cancel
Save