[OpenSIPS/opensips] ba6614: core: Add new parameter ('pv_print_buf_size')

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] ba6614: core: Add new parameter ('pv_print_buf_size')

Liviu Chircu-3
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ba6614da30c2d3fd25d1117a438cecd588039431
      https://github.com/OpenSIPS/opensips/commit/ba6614da30c2d3fd25d1117a438cecd588039431
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-05-24 (Fri, 24 May 2019)

  Changed paths:
    M cfg.lex
    M cfg.y
    M main.c
    M pvar.c
    M pvar.h

  Log Message:
  -----------
  core: Add new parameter ('pv_print_buf_size')

This setting will be useful in case large bodies of text need to be
expanded during a pseudo-variable format printing.  For example:

avp_db_query("SELECT $var(columns) FROM $var(table)", $avp(result));
             ^ before this commit, the output of this format was
               capped at 1024 bytes

Closes #1659

(cherry picked from commit a977a1c3426c0fbd6bdc2d5f60aff9461c465360)



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel