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

armeabi-v7a Android device CURLOPT_HEADERFUNCTION failed. #6

Closed
dspec1984 opened this issue Nov 12, 2019 · 4 comments
Closed

armeabi-v7a Android device CURLOPT_HEADERFUNCTION failed. #6

dspec1984 opened this issue Nov 12, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@dspec1984
Copy link

dspec1984 commented Nov 12, 2019

Hello.
On the Android device of armeabi-v7a, thiz 'is null in HeaderFunction and sizeandnmemb` become negative values. Is there a workaround?

        [AOT.MonoPInvokeCallback(typeof(Delegates.HeaderFunction))]
        private static long HeaderFunction(IntPtr ptr, long size, long nmemb, IntPtr userdata)
        {
            size = size * nmemb;
            var thiz = ((GCHandle)userdata).Target as CurlEasy;
            ....
@dspec1984 dspec1984 changed the title 32bit android device CURLOPT_WRITEFUNCTION failed. 32bit android device CURLOPT_HEADERFUNCTION failed. Nov 12, 2019
@dspec1984 dspec1984 changed the title 32bit android device CURLOPT_HEADERFUNCTION failed. armeabi-v7a Android device CURLOPT_HEADERFUNCTION failed. Nov 12, 2019
@Jayatubi Jayatubi added the bug Something isn't working label Nov 12, 2019
@Jayatubi
Copy link
Contributor

Are you using the master version or the release version?

@dspec1984
Copy link
Author

Yes, I am using the latest master.

@Jayatubi
Copy link
Contributor

This should be fixed in 9230434. I've tested on the 32bit mono and 32/64 IL2CPP builds.

@dspec1984
Copy link
Author

Thank you very much.

We were able to confirm normal operation here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants