Diff comments:

> diff --git a/src/hockeypuck/hkp/handler.go b/src/hockeypuck/hkp/handler.go
> index 00ce4b3..3adecf6 100644
> --- a/src/hockeypuck/hkp/handler.go
> +++ b/src/hockeypuck/hkp/handler.go
> @@ -45,6 +45,7 @@ const (
>       shortKeyIDLen       = 8
>       longKeyIDLen        = 16
>       fingerprintKeyIDLen = 40
> +     maxRespLen          = 116997644

The maximum response length now is based on the biggest poison key I could find 
(58498822KB) times 2. This is an initial guess and can be tweaked.

>  )
>  
>  var errKeywordSearchNotAvailable = errors.New("keyword search is not 
> available")


-- 
https://code.launchpad.net/~alejdg/hockeypuck/+git/hockeypuck/+merge/413895
Your team Hockeypuck is requested to review the proposed merge of 
~alejdg/hockeypuck:124887 into hockeypuck:master.


-- 
Mailing list: https://launchpad.net/~hockeypuck
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~hockeypuck
More help   : https://help.launchpad.net/ListHelp

Reply via email to