325
325
self.welcome = self._getresp()
327
331
# 'MODE READER' is sometimes necessary to enable 'reader' mode.
328
332
# However, the order in which 'MODE READER' and 'AUTHINFO' need to
329
333
# arrive differs between some NNTP servers. If _setreadermode() fails
330
334
# with an authorization failed error, it will set this to True;
331
335
# the login() routine will interpret that as a request to try again
332
336
# after performing its normal function.
333
338
self.readermode_afterauth = False
337
346
# RFC 4642 2.2.2: Both the client and the server MUST know if there is
338
347
# a TLS session active. A client MUST NOT attempt to start a TLS
339
348
# session if a TLS session is already active.
346
351
# Log in and encryption setup order is left to subclasses.
347
352
self.authenticated = False