We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3996722 commit 7d2fcafCopy full SHA for 7d2fcaf
src/ngx_stream_upsync_module.c
@@ -2471,13 +2471,13 @@ ngx_stream_upsync_send_handler(ngx_event_t *event)
2471
if (upsync_type_conf->upsync_type == NGX_STREAM_UPSYNC_ETCD) {
2472
if (upsync_server->index != 0) {
2473
ngx_sprintf(request, "GET %V?wait=true&recursive=true&waitIndex=%d"
2474
- " HTTP/1.0\r\nHost: %V\r\n Accept: */*\r\n\r\n",
+ " HTTP/1.0\r\nHost: %V\r\nAccept: */*\r\n\r\n",
2475
&upscf->upsync_send, upsync_server->index,
2476
&upscf->conf_server.name);
2477
2478
} else {
2479
ngx_sprintf(request, "GET %V?"
2480
2481
&upscf->upsync_send, &upscf->conf_server.name);
2482
2483
}
0 commit comments