Commit b8970b87 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

adding argument to url to be easier to identify on log

parent 81204dbd
......@@ -144,7 +144,7 @@ subscribe_channels(Connection *connection, Statistics *stats)
len += sprintf(buffer + len, "/my_channel_%ld", i);
}
len += sprintf(buffer + len, " HTTP/1.1\r\nHost: loadtest\r\n\r\n");
len += sprintf(buffer + len, "?conn=%d HTTP/1.1\r\nHost: loadtest\r\n\r\n", connection->index);
if (write_connection(connection, stats, buffer, len) == EXIT_FAILURE) {
reopen_connection(connection);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment