Skip to content

fix zerocopy on Solaris - #2071

Open
kulikjak wants to merge 1 commit into
esnet:masterfrom
kulikjak:solaris-zerocopy
Open

fix zerocopy on Solaris#2071
kulikjak wants to merge 1 commit into
esnet:masterfrom
kulikjak:solaris-zerocopy

Conversation

@kulikjak

Copy link
Copy Markdown
Contributor

Currently, -Z/--zerocopy argument doesn't work on Solaris. HAVE_SENDFILE is defined, but then there is no sendfile implementation to be used, which results in nothing ever being sent:

Accepted connection from 127.0.0.1, port 59470
[  5] local 127.0.0.1 port 5201 connected to 127.0.0.1 port 55152
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec
.....

This PR send Solaris the Linux way, which fixes the issue.

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.

1 participant