Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

SOCKS: unit-tests for the SOCKS implementation #1010

Closed
wants to merge 4 commits into from

Conversation

coneiric
Copy link
Contributor

@coneiric coneiric commented Sep 5, 2018


By submitting this pull-request, I confirm the following:

  • I have read and understood the developer guide in kovri-docs.
  • I have checked that another pull-request for this purpose does not exist.
  • I have considered and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used and that this pull-request may be closed by the will of the maintainer.
  • I give this submission freely under the BSD 3-clause license.

Serves as a basis for evaluating the current SOCKS implementation, and progressing with future development.

Changes access restriction on SOCKS handler members to make them
testable.
Performs checks before dereferencing the handler's socket pointer.
Merge one-line definitions with declarations in the header file.
Copy link
Collaborator

@anonimal anonimal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests fail.

@coneiric
Copy link
Contributor Author

coneiric commented Sep 6, 2018

Tests fail.

On up-to-date Boost, all tests pass, and I lost access to Boost 1.58 boxes.

```
/home/vagrant/slave/kovri-all-ubuntu-amd64/build/tests/unit_tests/client/proxy/socks.cc:79:24: error: 'class boost::asio::const_buffers_1' has no member named 'data'
   BOOST_CHECK(response.data());
```

@anonimal
Copy link
Collaborator

anonimal commented Sep 7, 2018

NOTICE: THIS PULL REQUEST HAS BEEN MOVED TO GitLab. Please reopen there if you wish to merge. See #1013 for details.

@anonimal anonimal closed this Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants