Skip to content

Conversation

@cail
Copy link

@cail cail commented Sep 3, 2019

Allow udp to be generated even if no server available.

@cail cail self-assigned this Sep 3, 2019
char *remote_congestion_used; /* what the other side used */
char *pidfile; /* -P option */

unsigned int delay; /* --delay server delay*/
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this is here? thats separate feature.

int repeating_payload; /* --repeating-payload */
int multithread; /* --multithread option */
int thread_affinity; /* --thread-affinity option. Use only with --multithread option */
int force_udp; /* --force-udp option - witnout answer*/
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad name. suggest --no-server (int no_server_udp)

return -1;
}

if (Nwrite(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should scan on all the code and exclude ctrl_sck logic if !ctrl_sck

#if defined(HAVE_SO_MAX_PACING_RATE)
" --fq-rate #[KMG] enable fair-queuing based socket pacing in\n"
" bits/sec (Linux only)\n"
" bits/sec (Linux only)\n"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless spacing changes

@cail
Copy link
Author

cail commented Sep 3, 2019

@WerWebWer plz fix the comments. And clarify why not stats output is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants