Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract stream features #37

Merged
merged 5 commits into from
Aug 28, 2014
Merged

Extract stream features #37

merged 5 commits into from
Aug 28, 2014

Conversation

erszcz
Copy link
Member

@erszcz erszcz commented Aug 27, 2014

Split start_stream connection step into two:

  • one sending and receiving the <stream:stream> elements,
  • another receiving <stream:features>.

This allows to plug into the connection process just after establishing the stream, e.g. for inspecting the raw features returned by the server inside a testcase.

This builds on top of #36, so please look into it first.

`escalus_connection:transport()` doesn't exist anymore.
Since 1658f58 this type is used but not defined - Dialyzer weeps.
Fix `escalus_connection:start/2` callsites in `escalus_users`.

There's a corresponding fix for ejabberd_tests - see tests
branch fix-connection-start2.
michalwski added a commit that referenced this pull request Aug 28, 2014
@michalwski michalwski merged commit af0a385 into master Aug 28, 2014
@erszcz erszcz deleted the extract-stream-features branch October 20, 2014 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants