I'm seeing a weird issue with invalid httpport option being passed from traffic_manager to traffic_server process. My ps output look a bit like this (I'm only running traffic_manager and not traffic_cop)
Notice some garbage characters at the end of traffic_server's httpport arg. That also reflects in the log as follows.
My server_ports in records.config is as follows.
After spending some time looking at the code in LocalManager::startProxy (LocalManager.cc:1037), I believe the char Vec namely real_proxy_options is not being null-terminated despite the attempt of doing so in line 1037.
This is, I think, because of the Vec's implementation of appending from another Vec which explicitly check for if an element is 0 then don't append that element (line 352 in lib/ts/Vec.h).
I have no idea why the implementation of Vec is that way but I would think it's probably safer not messing around with a container class that has been used in many other places. So, my suggestion would be something like this in LocalManager.
Any thought would be very welcome.