Commit 577b8ffa136c0b568fac9830d10a5519d6471322

Authored by Georg Hopp
1 parent 7ebd5a6a

fix deactivation of SSL

Showing 1 changed file with 4 additions and 4 deletions
... ... @@ -98,8 +98,7 @@ serverCtor(void * _this, va_list * params)
98 98 (this->fds)[0].events = POLLIN;
99 99 // (this->fds)[1].fd = this->sockSSL->handle;
100 100 // (this->fds)[1].events = POLLIN;
101   - // this->nfds = 2;
102   - this->nfds = 1;
  101 + this->nfds = 2;
103 102
104 103 return 0;
105 104 }
... ... @@ -112,8 +111,9 @@ serverDtor(void * _this)
112 111 int i;
113 112
114 113 for (i=0; i<this->nfds; i++) {
115   - if (this->sock->handle != (this->fds)[i].fd &&
116   - this->sockSSL->handle != (this->fds)[i].fd) {
  114 + //if (this->sock->handle != (this->fds)[i].fd &&
  115 + // this->sockSSL->handle != (this->fds)[i].fd) {
  116 + if (this->sock->handle != (this->fds)[i].fd) {
117 117 serverCloseConn(this, i);
118 118 }
119 119 }
... ...
Please register or login to post a comment