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

Various fixes for swift 4 #17

Merged
merged 4 commits into from
Feb 4, 2018
Merged

Various fixes for swift 4 #17

merged 4 commits into from
Feb 4, 2018

Conversation

csantanapr
Copy link
Member

Fixes #16 with urlSesson double free or corruption
Fixes #14 with large paramters

@csantanapr
Copy link
Member Author

FYI @jthomas

val (initCode, initRes) = c.init(initPayload(code))
initCode should be(200)

val arg = JsObject("arg" -> JsString(("a" * 198144)))
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, double check that this is actually a MB.

Copy link
Member

@dubee dubee Feb 4, 2018

Choose a reason for hiding this comment

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

Is this 1024 bytes * 1024?

Copy link
Member Author

Choose a reason for hiding this comment

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

humm checking...

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks likes the highest I can go without an margin of error is 1048561 will update test

@@ -6,4 +6,6 @@ set -e

../../tools/build/compile.sh HelloSwift4 swift:4 "-v"

../../tools/build/compile.sh SwiftyRequest swift:4 "-v"

Copy link
Member

Choose a reason for hiding this comment

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

Too many new lines here.

@csantanapr
Copy link
Member Author

@dubeejw take a look now

@dubee dubee merged commit 08dcc42 into apache:master Feb 4, 2018
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.

None yet

2 participants