Skip to content

Upgrade mochiweb dependency#292

Merged
seancribbs merged 5 commits intowebmachine:masterfrom
PhilRunninger:upgrade_mochiweb_dependency
Apr 6, 2018
Merged

Upgrade mochiweb dependency#292
seancribbs merged 5 commits intowebmachine:masterfrom
PhilRunninger:upgrade_mochiweb_dependency

Conversation

@PhilRunninger
Copy link
Copy Markdown

@PhilRunninger PhilRunninger commented Apr 5, 2018

Fixes #291.

  • To enable compatibility with Erlang 20, mochiweb was upgraded to v2.17.0.
  • The ibrowse dependency was upgraded to v4.4.0 to remove the erlang:now/0 warning.
  • Two -compile(export_all). statements were removed. One was replaced with an appropriate -export([...]). statement.

@PhilRunninger
Copy link
Copy Markdown
Author

PhilRunninger commented Apr 6, 2018

What's up with the failing tests? They're the same ones mentioned in #286, and they pass locally, BTW.

@seancribbs
Copy link
Copy Markdown
Member

seancribbs commented Apr 6, 2018

It looks like an issue with the environment on Travis for that one test. mochiweb is binding to the v6 address, or ibrowse is requesting via the v6.

@seancribbs
Copy link
Copy Markdown
Member

One possibility is that the test on the failing line is expecting binaries as keys/values in the returned proplist, but they are strings or iodata. There's a fix I want to try locally, if it works I will merge your PR.

@PhilRunninger
Copy link
Copy Markdown
Author

Cool. Thanks.

@seancribbs
Copy link
Copy Markdown
Member

I can't fix the eaddrinuse errors on Travis right now. I'm merging your PR.

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