| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | Add support for parsing exit lists. | Karsten Loesing | 2012-02-02 | |
| | | ||||
| * | Use a single interface for reading descriptors. | Karsten Loesing | 2012-02-02 | |
| | | ||||
| * | Rename some copied-and-pasted variables. | Karsten Loesing | 2012-02-02 | |
| | | ||||
| * | Handle exceptions when reading descriptors from disk. | Karsten Loesing | 2012-02-01 | |
| | | ||||
| * | Ignore directory certificate files for the moment. | Karsten Loesing | 2012-02-01 | |
| | | ||||
| * | Parse all statistics in extra-info descriptors. | Karsten Loesing | 2012-02-01 | |
| | | ||||
| * | Disallow reconfiguring readers after starting to read. | Karsten Loesing | 2012-01-31 | |
| | | ||||
| * | Add a config option to handle unrecognized lines. | Karsten Loesing | 2012-01-31 | |
| | | | | | | | | | | | | | | | Most applications don't care about unrecognized lines in descriptors as long as the lines they care about are contained. But some applications rather want to skip a descriptor with unrecognized lines, e.g., the bridge descriptor sanitizer. Add a switch to downloaders and readers to control the desired behavior, that is, to either fail parsing or ignore unrecognized lines. In the latter case, unrecognized are written to a list for later inspection by the application. Corrupt lines with known keywords always lead to failing the parse step. | |||
| * | Remove examples. | Karsten Loesing | 2012-01-31 | |
| | | | | | | | Example were useful when starting to design the API. Now that there are actual applications using the library, there's no need to main the examples anymore. | |||
| * | Fix the download logic some more. | Karsten Loesing | 2012-01-31 | |
| | | | | | | | | Yet another edge case was biting us. When delivering responses, the download threads check whether there's more to download for anyone, and if not, they tell the client (here: DocTor). This check was broken for directory authorities taking very long to download a consensus. Fixed. | |||
| * | Fiddle around with the download logic some more. | Karsten Loesing | 2012-01-26 | |
| | | ||||
| * | Use timeouts in URLConnection instead of own timeout thread. | Karsten Loesing | 2012-01-23 | |
| | | ||||
| * | Fix the logic what descriptors are left to download. | Karsten Loesing | 2012-01-23 | |
| | | ||||
| * | Fix an awful copy-and-paste error. | Karsten Loesing | 2012-01-23 | |
| | | ||||
| * | Avoid static initializer blocks. | Karsten Loesing | 2012-01-23 | |
| | | | | | | | | | | Commit 1bf8a7f introduced a problem with parsing perfectly valid date strings. Changing the SimpleDateFormat class member to a local variable and avoiding its initialization in a static initializer block solved the problem. It's unclear what exactly the problem was, possibly related to class loader weirdness. Using a local variable fixed it. Wasted enough time on this problem. | |||
| * | Let Eclipse organize imports. | Karsten Loesing | 2012-01-23 | |
| | | ||||
| * | Add basic support for or-address lines. | Karsten Loesing | 2012-01-23 | |
| | | ||||
| * | Use a separate JVM for running the unit tests. | Karsten Loesing | 2012-01-19 | |
| | | | | | | Otherwise we'll run into weird problems with Ant when overriding Java's URL stream handler to test the downloading code (not merged yet). | |||
| * | Improve downloader a bit. | Karsten Loesing | 2012-01-19 | |
| | | ||||
| * | Make ConsensusBuilder an own class for better testing. | Karsten Loesing | 2012-01-19 | |
| | | | | | | We'll want to create sample consensuses for testing the descriptor downloader and reader, not just for testing the parsing code. | |||
| * | Make DownloadCoordinator interface to facilitate testing. | Karsten Loesing | 2012-01-19 | |
| | | ||||
| * | Fix a few warnings found by Eclipse. | Karsten Loesing | 2012-01-19 | |
| | | ||||
| * | Let Eclipse organize the imports. | Karsten Loesing | 2012-01-18 | |
| | | ||||
| * | Fix a couple of compile warnings and a real bug. | Karsten Loesing | 2012-01-18 | |
| | | | | | Hint: The getter in DescriptorFileImpl was the bug. | |||
| * | Fix a problem with downloading relay descriptors. | Karsten Loesing | 2012-01-17 | |
| | | | | | | | | | | | The consensus-health checker recently reported quite often that it couldn't download any consensuses. What happened was that the first directory authority immediately with an error. We decided that there's nothing to download anymore, because a) we requested the consensus from all authorities and didn't know about any votes yet that we could download. However, what we need to do is wait until all running consensus downloads finish. | |||
| * | Split relay descriptor downloader into three classes. | Karsten Loesing | 2012-01-17 | |
| | | | | | | | | | | | | | The three classes are: - The "user"-facing RelayDescriptorDownloaderImpl that is used to configure what descriptors shall be downloaded. - The DownloadCoordinator that memorizes which descriptors still need to be downloaded, which downloads are in progress, and which downloads are completed or have failed. - The DirectoryDownloader that sends the actual requests to one directory authority or mirror and reports back to DownloadCoordinator for finished downloads. | |||
| * | Looks like $fingerprint=nickname is a valid family line entry. | Karsten Loesing | 2012-01-16 | |
| | | ||||
| * | Start parsing bridge pool assignments. | Karsten Loesing | 2012-01-15 | |
| | | ||||
| * | Only send end-of-stream object once. | Karsten Loesing | 2012-01-15 | |
| | | ||||
| * | Merge relay and bridge descriptor readers. | Karsten Loesing | 2012-01-15 | |
| | | ||||
| * | Implement a history file to avoid reading files twice. | Karsten Loesing | 2012-01-15 | |
| | | ||||
| * | Enable bridge descriptor parsing. | Karsten Loesing | 2012-01-12 | |
| | | ||||
| * | Use a single relay and bridge descriptor implementation. | Karsten Loesing | 2012-01-12 | |
| | | | | | | | | Relay and bridge server and extra-info descriptors are similar enough to implement them in a single class each. It should be clear from the descriptor source (relay or bridge reader) whether the descriptor was published by a relay or a bridge. | |||
| * | Implement bridge network status parsing. | Karsten Loesing | 2012-01-12 | |
| | | ||||
| * | Recognize geoip-* lines in extra-info descriptors. | Karsten Loesing | 2012-01-12 | |
| | | ||||
| * | Fix indentation. | Karsten Loesing | 2012-01-10 | |
| | | ||||
| * | Fix download logic a bit. | Karsten Loesing | 2012-01-10 | |
| | | | | | | | | | | | Now we report a failed request instead of silently ignoring it. As a result, we don't wait forever if we cannot download a single consensus. The download logic is still somewhat broken. We don't wait for all consensus requests to complete or fail, which results in adding (failed) requests to the queue when we think we're done. This is probably harmless, but should be fixed at some point. | |||
| * | Fix typos. | Karsten Loesing | 2012-01-10 | |
| | | ||||
| * | Start defining the bridge status interface. | Karsten Loesing | 2012-01-08 | |
| | | ||||
| * | Detect relay descriptor type from first lines. | Karsten Loesing | 2012-01-08 | |
| | | ||||
| * | Extra-info descriptors start with "extra-info" lines. | Karsten Loesing | 2012-01-08 | |
| | | ||||
| * | Skip lines in server descriptors starting with @. | Karsten Loesing | 2012-01-08 | |
| | | ||||
| * | The bool in hibernating lines is 0/1, not false/true. | Karsten Loesing | 2012-01-08 | |
| | | ||||
| * | Also accept lower-case hex fingerprints. | Karsten Loesing | 2012-01-08 | |
| | | ||||
| * | Update copyright lines to 2012. | Karsten Loesing | 2012-01-02 | |
| | | ||||
| * | Start implementing extra-info descriptor parsing. | Karsten Loesing | 2012-01-02 | |
| | | ||||
| * | Implement parsing relay server descriptors. | Karsten Loesing | 2012-01-02 | |
| | | ||||
| * | Implement a minimal relay descriptor reader. | Karsten Loesing | 2011-12-16 | |
| | | ||||
| * | Improve vote parsing and unit tests. | Karsten Loesing | 2011-12-16 | |
| | | ||||
| * | Add a real fix for the 682f6e0 bug. | Karsten Loesing | 2011-12-16 | |
| | | ||||
