Changeset 88 in Main for trunk/Server/http.c


Ignore:
Timestamp:
Sep 19, 2024, 9:59:40 PM (8 weeks ago)
Author:
Nishi
Message:

fix select

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/http.c

    r70 r88  
    7272                if(ssl == NULL || !SSL_has_pending(ssl)) {
    7373#endif
     74#ifdef __HAIKU__
     75                        int n = select(32, &fds, NULL, NULL, &tv);
     76#else
    7477                        int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
     78#endif
    7579                        if(n <= 0) {
    7680                                cm_log("HTTP", "Timeout, disconncting");
Note: See TracChangeset for help on using the changeset viewer.