codekingpro/portable-devtools
115k
1/*2 * Generated by util/mkerr.pl DO NOT EDIT3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.4 *5 * Licensed under the Apache License 2.0 (the "License"). You may not use6 * this file except in compliance with the License. You can obtain a copy7 * in the file LICENSE in the source distribution or at8 * https://www.openssl.org/source/license.html9 */10 11#ifndef OPENSSL_HTTPERR_H12# define OPENSSL_HTTPERR_H13# pragma once14 15# include <openssl/opensslconf.h>16# include <openssl/symhacks.h>17# include <openssl/cryptoerr_legacy.h>18 19 20 21/*22 * HTTP reason codes.23 */24# define HTTP_R_ASN1_LEN_EXCEEDS_MAX_RESP_LEN 10825# define HTTP_R_CONNECT_FAILURE 10026# define HTTP_R_ERROR_PARSING_ASN1_LENGTH 10927# define HTTP_R_ERROR_PARSING_CONTENT_LENGTH 11928# define HTTP_R_ERROR_PARSING_URL 10129# define HTTP_R_ERROR_RECEIVING 10330# define HTTP_R_ERROR_SENDING 10231# define HTTP_R_FAILED_READING_DATA 12832# define HTTP_R_HEADER_PARSE_ERROR 12633# define HTTP_R_INCONSISTENT_CONTENT_LENGTH 12034# define HTTP_R_INVALID_PORT_NUMBER 12335# define HTTP_R_INVALID_URL_PATH 12536# define HTTP_R_INVALID_URL_SCHEME 12437# define HTTP_R_MAX_RESP_LEN_EXCEEDED 11738# define HTTP_R_MISSING_ASN1_ENCODING 11039# define HTTP_R_MISSING_CONTENT_TYPE 12140# define HTTP_R_MISSING_REDIRECT_LOCATION 11141# define HTTP_R_RECEIVED_ERROR 10542# define HTTP_R_RECEIVED_WRONG_HTTP_VERSION 10643# define HTTP_R_REDIRECTION_FROM_HTTPS_TO_HTTP 11244# define HTTP_R_REDIRECTION_NOT_ENABLED 11645# define HTTP_R_RESPONSE_LINE_TOO_LONG 11346# define HTTP_R_RESPONSE_PARSE_ERROR 10447# define HTTP_R_RETRY_TIMEOUT 12948# define HTTP_R_SERVER_CANCELED_CONNECTION 12749# define HTTP_R_SOCK_NOT_SUPPORTED 12250# define HTTP_R_STATUS_CODE_UNSUPPORTED 11451# define HTTP_R_TLS_NOT_ENABLED 10752# define HTTP_R_TOO_MANY_REDIRECTIONS 11553# define HTTP_R_UNEXPECTED_CONTENT_TYPE 11854 55#endif56 