summaryrefslogtreecommitdiffstats
path: root/net/quic/crypto/quic_random_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Switch to standard integer types in net/.Avi Drissman2015-12-201-2/+2
| | | | | | | | | BUG=488550 TBR=mmenke@chromium.org Review URL: https://codereview.chromium.org/1535363003 . Cr-Commit-Position: refs/heads/master@{#366297}
* Land Recent QUIC changes.rtenneti@chromium.org2013-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix flakiness with retransmission tracking. This happens when, due to ACKs for previous transmissions of packets, none of the unacked packets have retransmittable data any longer. The retransmission timeout fires, but no packets are transmitted. Assuming that there is still data to write, this means that the connection hangs. DOH! To fix this, after we finish retransmitting all/any packets we should write any pending data. Merge internal change: 52384228 de-lint net/quic net/tools/quic. Merge internal change: 52381288 Rename SentPacket -> OnPacketSent and AbandoningPacket -> OnPacketAbandoned in QuicCongestionManager, and friends, to be more consitent with other similar method names. Merge internal change: 52380847 Change QuicConnectionTest to fire alarms, instead of calling the methods that we expect the alarms will execute, since this is actually how the code runs in non-test mode. Merge internal change: 52379619 When a previous transmission of a packet is acked, inform the caller that the data in the new packet has been acked. Merge internal change: 52305769 Fixed minor nit while merging the following internal CL which converted uses of scoped_array<T> to scoped_ptr<T[]>. Merge internal change: 52298940 R=rch@chromium.org Review URL: https://chromiumcodereview.appspot.com/23503088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224950 0039d316-1c4b-4281-b951-d872f2087c98
* Merge recent QUIC changes.rch@chromium.org2012-12-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a TODO to fix the in-memory time based fields in the inter arrival congestion feedback struct. I'd fix them now, but I'm not sure if they'll even be used in their current form. I'll leave it to patrick to actually implement when the code is ready. Merge internal change: 39803339 * Handling truncated ack packets. Merge internal change: 39972571 * Various small cleanups to QUIC code found while landing changes in Chrome. Merge internal change: 39980760 * Two more fixes for the ever-failing end to end test. Allow truncating connection close frames, since they're short data followed by a truncatable-ack. Check for closed streams in the client's GetStream, rather than closing the connection at an "unexpected" stream. Finally, fast fail in debug mode if we're asked to create a packet and can't: this should never happen since we should break data into small bits, and truncate acks. Merge internal change: 39999004 * Test truncated close along with truncate acks Merge internal change: 40032708 * Simplify the QuicFramer::Construct* API by returning a QuicPacket*, instead of returning a bool, and setting the packet in an outparam. This matches the API of the CryptoFramer. (Yay, constency :>) Merge internal change: 40129101 * Minor cleanup of QuicFramerTest Merge internal change: 40130911 BUG= Review URL: https://chromiumcodereview.appspot.com/11586006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173591 0039d316-1c4b-4281-b951-d872f2087c98
* Add the QuicRandom interface with a default implementation that is wtc@chromium.org2012-12-081-0/+42
both cryptographically secure and thread-safe. The default QuicRandom is a singleton. crypto/random.h can include the smaller <stddef.h> for size_t. Add missing header files to net/net.gyp. R=rch@chromium.org BUG=none TEST=new unit tests Review URL: https://chromiumcodereview.appspot.com/11476031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171931 0039d316-1c4b-4281-b951-d872f2087c98