aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/httperr.h
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-01-25 22:54:17 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-02-02 07:54:37 +0100
commita6d40689ecfb5246c67feee3b8aa5698bb062e90 (patch)
treea862e0a41e4358bbb1f302a6c5f2ee4536c582b6 /include/openssl/httperr.h
parentd337af18919a5c24c6f1d0ceb9fdb7aaf1beaef4 (diff)
downloadopenssl-a6d40689ecfb5246c67feee3b8aa5698bb062e90.zip
openssl-a6d40689ecfb5246c67feee3b8aa5698bb062e90.tar.gz
openssl-a6d40689ecfb5246c67feee3b8aa5698bb062e90.tar.bz2
HTTP: add more error detection to low-level API
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13960)
Diffstat (limited to 'include/openssl/httperr.h')
-rw-r--r--include/openssl/httperr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/httperr.h b/include/openssl/httperr.h
index 4bf52ba..716feac 100644
--- a/include/openssl/httperr.h
+++ b/include/openssl/httperr.h
@@ -34,6 +34,7 @@
# define HTTP_R_ERROR_PARSING_URL 101
# define HTTP_R_ERROR_RECEIVING 103
# define HTTP_R_ERROR_SENDING 102
+# define HTTP_R_FAILED_READING_DATA 128
# define HTTP_R_INCONSISTENT_CONTENT_LENGTH 120
# define HTTP_R_INVALID_PORT_NUMBER 123
# define HTTP_R_INVALID_URL_PATH 125