On 3/14/16 4:10 PM, Robbie Harwood wrote:
> David Steele <da...@pgmasters.net> writes:
>> Hi Robbie,
>> On 3/8/16 5:44 PM, Robbie Harwood wrote:
>>> Hello friends,
>>> Here's yet another version of GSSAPI encryption support.  It's also
>>> available for viewing on my github:
>> The build went fine but when testing I was unable to logon at all.  I'm
>> using the same methodology as in
>> http://www.postgresql.org/message-id/56be0ff9.70...@pgmasters.net except
>> that I'm running against 51c0f63 and using the v6 patch set.
>> psql simply hangs and never returns.  I have attached a pcap of the
>> psql/postgres session generated with:
>> tcpdump -i lo -nnvvXSs 1514 port 5432 -w gssapi.pcap
>> If you would like me to capture more information please let me know
>> specifically how you would like me to capture it.
> Please disregard my other email.  I think I've found the issue; will
> post a new version in a moment.

Strange timing since I was just testing this.  Here's what I got:

$ pg/bin/psql -h localhost -U vagr...@pgmasters.net postgres
conn->inStart = 179, conn->inEnd = 179, conn->inCursor = 179
psql (9.6devel)
Type "help" for help.


This was after commenting out:

// appendBinaryPQExpBuffer(&conn->gwritebuf,
//                                              conn->inBuffer + conn->inStart,
//                                              conn->inEnd - conn->inStart);
// conn->inEnd = conn->inStart;

The good news I can log on every time now!


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to