diff options
-rw-r--r-- | src/libwaitress/waitress.c | 4 | ||||
-rw-r--r-- | src/libwaitress/waitress.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c index 6aa43fc..75db79f 100644 --- a/src/libwaitress/waitress.c +++ b/src/libwaitress/waitress.c @@ -801,10 +801,6 @@ const char *WaitressErrorToStr (WaitressReturn_t wRet) { return "Callback aborted request."; break; - case WAITRESS_RET_HDR_OVERFLOW: - return "HTTP header overflow."; - break; - case WAITRESS_RET_PARTIAL_FILE: return "Partial file."; break; diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h index 7d8ede6..7ef86a1 100644 --- a/src/libwaitress/waitress.h +++ b/src/libwaitress/waitress.h @@ -59,7 +59,7 @@ typedef struct { typedef enum {WAITRESS_RET_ERR = 0, WAITRESS_RET_OK, WAITRESS_RET_STATUS_UNKNOWN, WAITRESS_RET_NOTFOUND, WAITRESS_RET_FORBIDDEN, WAITRESS_RET_CONNECT_REFUSED, WAITRESS_RET_SOCK_ERR, WAITRESS_RET_GETADDR_ERR, - WAITRESS_RET_CB_ABORT, WAITRESS_RET_HDR_OVERFLOW, + WAITRESS_RET_CB_ABORT, WAITRESS_RET_PARTIAL_FILE, WAITRESS_RET_TIMEOUT, WAITRESS_RET_READ_ERR, WAITRESS_RET_CONNECTION_CLOSED } WaitressReturn_t; |