Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-25 09:22:03

0001 /*
0002  * Generated by util/mkerr.pl DO NOT EDIT
0003  * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
0004  *
0005  * Licensed under the Apache License 2.0 (the "License").  You may not use
0006  * this file except in compliance with the License.  You can obtain a copy
0007  * in the file LICENSE in the source distribution or at
0008  * https://www.openssl.org/source/license.html
0009  */
0010 
0011 #ifndef OPENSSL_HTTPERR_H
0012 #define OPENSSL_HTTPERR_H
0013 #pragma once
0014 
0015 #include <openssl/opensslconf.h>
0016 #include <openssl/symhacks.h>
0017 #include <openssl/cryptoerr_legacy.h>
0018 
0019 /*
0020  * HTTP reason codes.
0021  */
0022 #define HTTP_R_ASN1_LEN_EXCEEDS_MAX_RESP_LEN 108
0023 #define HTTP_R_CONNECT_FAILURE 100
0024 #define HTTP_R_ERROR_PARSING_ASN1_LENGTH 109
0025 #define HTTP_R_ERROR_PARSING_CONTENT_LENGTH 119
0026 #define HTTP_R_ERROR_PARSING_URL 101
0027 #define HTTP_R_ERROR_RECEIVING 103
0028 #define HTTP_R_ERROR_SENDING 102
0029 #define HTTP_R_FAILED_READING_DATA 128
0030 #define HTTP_R_HEADER_PARSE_ERROR 126
0031 #define HTTP_R_INCONSISTENT_CONTENT_LENGTH 120
0032 #define HTTP_R_INVALID_PORT_NUMBER 123
0033 #define HTTP_R_INVALID_URL_PATH 125
0034 #define HTTP_R_INVALID_URL_SCHEME 124
0035 #define HTTP_R_MAX_RESP_LEN_EXCEEDED 117
0036 #define HTTP_R_MISSING_ASN1_ENCODING 110
0037 #define HTTP_R_MISSING_CONTENT_TYPE 121
0038 #define HTTP_R_MISSING_REDIRECT_LOCATION 111
0039 #define HTTP_R_RECEIVED_ERROR 105
0040 #define HTTP_R_RECEIVED_WRONG_HTTP_VERSION 106
0041 #define HTTP_R_REDIRECTION_FROM_HTTPS_TO_HTTP 112
0042 #define HTTP_R_REDIRECTION_NOT_ENABLED 116
0043 #define HTTP_R_RESPONSE_LINE_TOO_LONG 113
0044 #define HTTP_R_RESPONSE_PARSE_ERROR 104
0045 #define HTTP_R_RESPONSE_TOO_MANY_HDRLINES 130
0046 #define HTTP_R_RETRY_TIMEOUT 129
0047 #define HTTP_R_SERVER_CANCELED_CONNECTION 127
0048 #define HTTP_R_SOCK_NOT_SUPPORTED 122
0049 #define HTTP_R_STATUS_CODE_UNSUPPORTED 114
0050 #define HTTP_R_TLS_NOT_ENABLED 107
0051 #define HTTP_R_TOO_MANY_REDIRECTIONS 115
0052 #define HTTP_R_UNEXPECTED_CONTENT_TYPE 118
0053 
0054 #endif