summaryrefslogtreecommitdiff
path: root/imap/src/c-client/mail.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-03-27 12:43:03 -0600
committerEduardo Chappa <chappa@washington.edu>2021-03-27 12:43:03 -0600
commita5c42906261fefe477422cf106cbd0ce934e0173 (patch)
tree3ab4135304ff155eae681e12c55d5bcfec37e790 /imap/src/c-client/mail.h
parent903b5ac6305612d16e6053b4a4e8957d8ada9bde (diff)
downloadalpine-a5c42906261fefe477422cf106cbd0ce934e0173.tar.xz
* new http option for debug. This is mostly useful to debug XOAUTH2
autentication and reveals sensitive login information. Use with care. Remove your .pine-debug file after using this option.
Diffstat (limited to 'imap/src/c-client/mail.h')
-rw-r--r--imap/src/c-client/mail.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap/src/c-client/mail.h b/imap/src/c-client/mail.h
index 79f0b3f3..ce5e2847 100644
--- a/imap/src/c-client/mail.h
+++ b/imap/src/c-client/mail.h
@@ -160,6 +160,8 @@
#define SET_OA2CLIENTINFO (long) 172
#define GET_OA2DEVICEINFO (long) 173
#define SET_OA2DEVICEINFO (long) 174
+#define GET_HTTPDEBUG (long) 175
+#define SET_HTTPDEBUG (long) 176
/* 2xx: environment */
#define GET_USERNAME (long) 201
@@ -573,6 +575,7 @@
#define PARSE (long) 3 /* mm_log parse error type */
#define BYE (long) 4 /* mm_notify stream dying */
#define TCPDEBUG (long) 5 /* mm_log TCP debug babble */
+#define HTTPDEBUG (long) 6 /* mm_log HTTP debug babble */
/* Bits from mail_parse_flags(). Don't change these, since the header format