summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/smtplib.py
diff options
context:
space:
mode:
authorbwarsaw1999-01-07 00:01:26 +0000
committerbwarsaw1999-01-07 00:01:26 +0000
commit5196e8f0df045be91e3fb77febf3ca7e5a263ae4 (patch)
treea43eee199b49b17143768c44605677bb20b7f5b7 /Mailman/pythonlib/smtplib.py
parentb0c0f6c93d00fd94e4a84cb5f24c556811fb7b5d (diff)
downloadmailman-5196e8f0df045be91e3fb77febf3ca7e5a263ae4.tar.gz
mailman-5196e8f0df045be91e3fb77febf3ca7e5a263ae4.tar.zst
mailman-5196e8f0df045be91e3fb77febf3ca7e5a263ae4.zip
Somewhat kludgy changes to make debugging mismatching CGI gid's easier
to figure out. common.c now sports a global variable running_as_cgi which, when true causes fatal() to output some mildly more helpful HTML in addition to the syslog entry. Since this usually only occurs when the site admin is installing Mailman, this helpful HTML should give a better clue as to what's going wrong, rather than an unhelpful Web server message and syslog entry alone. Naturally, main() in cgi-wrapper.c sets running_as_cgi to 1; it is initialized to 0 so as to not upset mail-wrapper.c. Finally, because I think this is a kludge, I've wrapped this all in an #ifdef HELPFUL, and set Makefile.in to turn this on by default. My thought is that for some future version, if the site admin specifies --with-cgi-gid to configure, that proves they're somewhat clueful, and we'd default the HELPFUL macro to "off".
Diffstat (limited to 'Mailman/pythonlib/smtplib.py')
0 files changed, 0 insertions, 0 deletions