TraceProcessor: don't close the connection after /rpc requests
This bug was introduced in the refactoring aosp/1883828. The previous
code was not closing the connection after each /rpc request. Doing
that defeats the whole point of a keep-alive connection.
Test: manual (no more "[HTTP] New connection" seen in the logs
when using trace_processor --httpd and ui.perfetto.dev)
Change-Id: If591a555aa48464be49715e3fce5003c620861da
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.