summaryrefslogtreecommitdiff
path: root/src/test/test_relaycell.c
AgeCommit message (Collapse)Author
2018-09-18Use the correct function signatures in test_relaycell.cNick Mathewson
This is now officially an antipattern: please let's never copy a function declaration in two places again. That's what headers are for.
2018-09-16Fix duplicate declaration of pathbias_count_valid_cells.Nick Mathewson
2018-08-29Ticket #25573: Count TRUNCATED cells.Mike Perry
TRUNCATED cells were ignored while in path bias. Now they are obeyed, and cause us to tear down the circuit. The actual impact is minimal, since we would just wait around for a probe that would never arrive before. This commit changes client behavior.
2018-08-29Ticket #25573: Check half-opened stream ids when choosing a new oneMike Perry
Avoid data corrupton by avoiding mixing up old stream ids with new ones. This commit changes client behavior.
2018-08-29Ticket #25573: Track half-closed stream idsMike Perry
We allow their CONNECTEDs, RESOLVEDs, ENDs, SENDMEs, and DATA cells to not count as dropped until the windows are empty, or we get an END. This commit does not change behavior. It only changes CIRC_BW event field values.
2018-06-21Bug 26214: Test updates.Mike Perry
2018-06-13Merge remote-tracking branch 'asn-github/bug26358'Nick Mathewson
2018-06-13Silence warning of relaycell/circbw tst.George Kadianakis
Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
2018-06-01Bug 26259: Don't count 0-length RELAY_COMMAND_DATA in CIRC_BW OVERHEADMike Perry
This cell should be treated as invalid for purposes of CIRC_BW.
2018-05-14Bug 25903: TestsMike Perry
2017-11-04Revert "Make ClientDNSRejectInternalAddresses testing-only."Sebastian Hahn
This reverts commit 27fa4a98d23972213122fa99499efa4baebe49e3.
2017-09-07Make ClientDNSRejectInternalAddresses testing-only.Nick Mathewson
Undeprecate it; rename it to TestingClientDNSRejectInternalAddresses; add the old name as an alias; reject configurations where it is set but TestingTorNetwork is not; change the documentation accordingly. Closes tickets 21031 and 21522.
2017-03-15Run the copyright update script.Nick Mathewson
2016-06-11Add clang's -Wstring-conversion, and fix the one place it hitsNick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2015-01-16Merge branch 'bug8546_squashed'Nick Mathewson
Conflicts: src/or/connection.c src/or/or.h src/or/relay.c
2015-01-16Move entry_port_cfg_t fields in entry_connection_tNick Mathewson
Also rename some options for uniformity, and apply this script: @@ entry_connection_t *conn; @@ conn-> +entry_cfg. \( isolation_flags \| session_group \| socks_prefer_no_auth \| ipv4_traffic \| ipv6_traffic \| prefer_ipv6 \| cache_ipv4_answers \| cache_ipv6_answers \| use_cached_ipv4_answers \| use_cached_ipv6_answers \| prefer_ipv6_virtaddr \)
2015-01-08fix new mingw64 compilation warningsNick Mathewson
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-11-12Replace operators used as macro arguments with OP_XX macrosNick Mathewson
Part of fix for 13172
2014-04-02Unit tests for connection_edge_process_resolved_cellNick Mathewson
Also rename a function to be more accurate (resolve->resolved)