/* append the newline character */ /* TODO add support for -n option to suppress * the trailing newline */ newline_buf = ngx_calloc_buf(r->pool); Hah! I asked too soon. Should have read the source :) I'll investigate adding a patch for this. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,31961,32633#msg-32633