Re: Allow ssl_renegotiation_limit in PG 9.5
| От | Andres Freund | 
|---|---|
| Тема | Re: Allow ssl_renegotiation_limit in PG 9.5 | 
| Дата | |
| Msg-id | 20151014155604.GI30738@alap3.anarazel.de обсуждение исходный текст  | 
		
| Ответ на | Allow ssl_renegotiation_limit in PG 9.5 (Shay Rojansky <roji@roji.org>) | 
| Ответы | 
                	
            		Re: Allow ssl_renegotiation_limit in PG 9.5
            		
            		 | 
		
| Список | pgsql-hackers | 
On 2015-10-14 18:53:14 +0300, Shay Rojansky wrote: > However, the new situation where some versions of PG allow this parameter > while others bomb when seeing it. Specifically, Npgsql sends > ssl_renegotiation_limit=0 in the startup packet to completely disable > renegotiation. At this early stage it doesn't know yet whether the database > it's connecting to is PG 9.5 or earlier. I find it a rather debatable practice to send such a parameter unconditionally. Why are you sending it before the connection has even been established? > Is there any chance you'd consider allowing ssl_renegotiation_limit in PG > 9.5, without it having any effect (I think that's the current behavior for > recent 9.4, 9.3, right)? No, you can actually enable renegotiation in those versions, it's just a changed default value. > It may be a good idea to only allow this parameter to be set to zero, > raising an error otherwise. -0.1 from me. Andres
В списке pgsql-hackers по дате отправления: