Changeset ef66c597dd4703603001731c680a7d276cbaa174
- Timestamp:
- 12/06/10 06:26:37
(3 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1291616797 +0000
- git-parent:
[4894966c03f577b54d528ad9d1d0dc76f81a959c]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1291616797 +0000
- Message:
It appears that wicked circumstances can return on = 0 (in a shared-stack solaris container)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rece3776 |
ref66c59 |
|
| 317 | 317 | socklen_t slen = sizeof(on); |
|---|
| 318 | 318 | if(getsockopt(data->ipv4_fd, SOL_SOCKET, SO_SNDBUF, &on, &slen) == 0) { |
|---|
| | 319 | if(on <= 0) on = 1024; |
|---|
| 319 | 320 | while(on < (1 << 20)) { |
|---|
| 320 | 321 | on <<= 1; |
|---|