Re: [PATCH v3] GSSAPI encryption support
От | Michael Paquier |
---|---|
Тема | Re: [PATCH v3] GSSAPI encryption support |
Дата | |
Msg-id | CAB7nPqQLo6P+6Pbop2HJ6w1NHC7qr8v1e_zRwMypZuphuFwMkA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH v3] GSSAPI encryption support (Robbie Harwood <rharwood@redhat.com>) |
Список | pgsql-hackers |
On Wed, Oct 14, 2015 at 7:34 AM, Robbie Harwood <rharwood@redhat.com> wrote: > Alright, here's v3. As requested, it's one patch now. Other things > addressed herein include: > Essentially, the problem is that socket_putmessage_noblock() needs to > know the size of the message to put in the buffer but we can't know > that until we've encrypted the message. socket_putmessage_noblock() > calls socket_putmessage() after ensuring the call will not block; > however, other code paths simply call directly into socket_putmessage() > and so socket_putmessage() needs to have a path to encryption as well. > > If you have other potential solutions to this problem, I would love to > hear them; right now though I don't see a better way. > > Patch follows. Thanks! After giving a quick shot at this patch, I am still seeing the same problem: psql: lost synchronization with server: got message type "S", length 22 (And unpatched works, I will try to put my head into your code...) Regards, -- Michael
В списке pgsql-hackers по дате отправления: