postgresql/src/backend/libpq
Bruce Momjian 6783b2372e Another pgindent run. Fixes enum indenting, and improves #endif
spacing.  Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
..
auth.c Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
be-fsstubs.c Allow a non-superuser database owner to vacuum all tables in his 2001-06-13 21:44:41 +00:00
crypt.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
hba.c Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
Makefile Use MD5 for wire protocol encryption for >= 7.2 client/server. 2001-08-15 18:42:16 +00:00
md5.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
password.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
pg_hba.conf.sample Improve wording. 2001-09-28 19:25:36 +00:00
pg_ident.conf.sample Add mention of SIGHUP for pg_ident.conf. 2001-08-01 00:52:19 +00:00
pqcomm.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
pqformat.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
pqpacket.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pqsignal.c Add an overall timeout on the client authentication cycle, so that 2001-09-21 17:06:12 +00:00
README.SSL Add README.SSL 1999-09-27 03:16:09 +00:00
util.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00

>From the servers perspective:


  Receives StartupPacket
           |
           |
 (Is SSL_NEGOTIATE_CODE?) -----------  Normal startup
           |                  No
           |
           | Yes
           |
           |
 (Server compiled with USE_SSL?) ------- Send 'N'
           |                       No        |
           |                                 |
           | Yes                         Normal startup
           |
           |
        Send 'S'
           |
           |
      Establish SSL
           |
           |
      Normal startup
     




>From the clients perspective (v6.6 client _with_ SSL):


      Connect
         |
         |
  Send packet with SSL_NEGOTIATE_CODE
         |
         |
  Receive single char  ------- 'S' -------- Establish SSL
         |                                       |
         | '<else>'                              |
         |                                  Normal startup
         |
         |
   Is it 'E' for error  ------------------- Retry connection
         |                  Yes             without SSL
         | No
         |
   Is it 'N' for normal ------------------- Normal startup
         |                  Yes
         |
   Fail with unknown