Revision ac550b87

View differences:

ml.c
305 305
			switch(sendPacket(socketfd, iov, 4, &udpgen.udpaddr)) {
306 306
				case MSGLEN:
307 307
					info("ML: sending message failed, reducing MTU from %d to %d (conID:%d lconID:%d msgsize:%d offset:%d)\n", connectbuf[con_id]->pmtusize, pmtu_decrement(connectbuf[con_id]->pmtusize), msg_h.remote_con_id, msg_h.local_con_id, msg_len, offset);
308
					// TODO: pmtu decremented here, but not in the "truncable" packet. That is currently resent without changing the claimed pmtu. Might need to be changed.
308 309
					connectbuf[con_id]->pmtusize = pmtu_decrement(connectbuf[con_id]->pmtusize);
309
					connectbuf[con_id]->delay = true;
310
					retry = true;
310
					if (connectbuf[con_id]->pmtusize > 0) {
311
						connectbuf[con_id]->delay = true;
312
						retry = true;
313
					}
311 314
					offset = msg_len + msg_h.len_mon_data_hdr; // exit the while
312 315
					break;
313 316
				case FAILURE:

Also available in: Unified diff