cloudsuite
cloudsuite copied to clipboard
data-caching loader with '-u' option shows "UDP not working"
hello,
I' going to test on data-caching loader with UDP protocol ('-u' option), but it shows "UDP not working".
Then I dig into the function sendRequest
in file "request.c"
and find that udpSendRequest
is already implemented but executes after exit(-1)
.
void sendRequest(struct request* request) {
...
struct request* sendRequest = request;
if(request->connection->protocol == TCP_MODE){
tcpSendRequest(sendRequest);
} else if(request->connection->protocol == UDP_MODE){
printf("UDP not working\n");
exit(-1);
udpSendRequest(sendRequest);
} else {
printf("Undefined protocol\n");
exit(-1);
}
...
}
If I try to common out exit(-1)
and run loader with '-u' option, the program will give Segmentation fault error.
Does this mean that UDP protocol is not supported in data-caching load tester?
p.s. With UDP protocol it also shows "Unknown error code" and exits. The call chain is receiveResponse -> udpReceiveResponse -> processResponse -> checkError.
Thanks
Hi there, Can I work on this issue?