rack.c (705d06b289e9821439b7b694d766cad75bc064e5) | rack.c (5666643a95389e3ea7637b86cc556d411242f71e) |
---|---|
1/*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 14044 unchanged lines hidden (view full) --- 14053 */ 14054 slot = 0; 14055 sendalot = 0; 14056 if (error == 0) 14057 tcp_log_end_status(tp, TCP_EI_STATUS_SERVER_RST); 14058 } else if ((slot == 0) && (sendalot == 0) && tot_len_this_send) { 14059 /* 14060 * Get our pacing rate, if an error | 1/*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 14044 unchanged lines hidden (view full) --- 14053 */ 14054 slot = 0; 14055 sendalot = 0; 14056 if (error == 0) 14057 tcp_log_end_status(tp, TCP_EI_STATUS_SERVER_RST); 14058 } else if ((slot == 0) && (sendalot == 0) && tot_len_this_send) { 14059 /* 14060 * Get our pacing rate, if an error |
14061 * occured in sending (ENOBUF) we would | 14061 * occurred in sending (ENOBUF) we would |
14062 * hit the else if with slot preset. Other 14063 * errors return. 14064 */ 14065 slot = rack_get_pacing_delay(rack, tp, tot_len_this_send, rsm, segsiz); 14066 } 14067 if (rsm && 14068 rack->use_rack_rr) { 14069 /* Its a retransmit and we use the rack cheat? */ --- 910 unchanged lines hidden --- | 14062 * hit the else if with slot preset. Other 14063 * errors return. 14064 */ 14065 slot = rack_get_pacing_delay(rack, tp, tot_len_this_send, rsm, segsiz); 14066 } 14067 if (rsm && 14068 rack->use_rack_rr) { 14069 /* Its a retransmit and we use the rack cheat? */ --- 910 unchanged lines hidden --- |