Skip to content
Snippets Groups Projects
Forked from Knot projects / Knot DNS
Source project has a limited visibility.
  • Lubos Slovak's avatar
    a78db27a
    Fixed setting of max packet size to response. · a78db27a
    Lubos Slovak authored
    - If both max size and OPT RR are given, the payload in the OPT RR
      cannot be larger than the max size - added check.
    - Fixed API of response_add_opt().
    - Disabled reallocation in response_add_opt() - larger size in OPT
      RR should not override the max size already set (max size is
      more important).
    
    refs #769
    a78db27a
    History
    Fixed setting of max packet size to response.
    Lubos Slovak authored
    - If both max size and OPT RR are given, the payload in the OPT RR
      cannot be larger than the max size - added check.
    - Fixed API of response_add_opt().
    - Disabled reallocation in response_add_opt() - larger size in OPT
      RR should not override the max size already set (max size is
      more important).
    
    refs #769