Ignore:
Timestamp:
05/02/11 20:48:02 (9 years ago)
Author:
Admin
Message:

WebIf: Fix segfault when switching on SSL via WebIf. Fix segfault when receiving data fails and implement a retry mechanism on plain mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-http-helpers.c

    r5158 r5165  
    389389    errno=0;
    390390#ifdef WITH_SSL
    391     if (cfg.http_use_ssl) {
     391    if (ssl_active) {
    392392        return SSL_write((SSL*)f, buf, len);
    393393    } else
     
    403403    errno=0;
    404404#ifdef WITH_SSL
    405     if (cfg.http_use_ssl) {
     405    if (ssl_active) {
    406406        return SSL_read((SSL*)f, buf, num);
    407407    } else
Note: See TracChangeset for help on using the changeset viewer.