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

Async auto-off on windows? #39

Closed
CostaC opened this issue Jan 15, 2014 · 4 comments
Closed

Async auto-off on windows? #39

CostaC opened this issue Jan 15, 2014 · 4 comments

Comments

@CostaC
Copy link

CostaC commented Jan 15, 2014

The docs state "For Windows, false is the only effective option available due to a bug in SSL sending on IIS with certain versions of PHP. Passing in true will do nothing on this platform."

But I run Apache on my local Windows machine not IIS. Is this bug an IIS bug or a Windows bug? (the code check the OS string, not the web server)

I use lots of SSL api calls from my code so I know SSL works on Windows + Apache.

I haven't tried Raygun yet. I'd just like some clarification on the nature of the bug (I'm currently exploring error loggers). Thanks.

@fundead
Copy link
Contributor

fundead commented Jan 15, 2014

Thanks for bringing this to our attention. I've had a preliminary investigation into taking another approach and it looks as though this restriction may be able to be removed if it is successful. I will get back to you with the results of this in the next couple of days.

To assist with this could you please post your versions for PHP, Apache and Windows.

Cheers,

Callum

@CostaC
Copy link
Author

CostaC commented Jan 21, 2014

Windows 7 Ultimate Edition Service Pack 1
apache2.2.22
PHP Version 5.3.13
OpenSSL 1.0.1c 10 May 2012

@fundead
Copy link
Contributor

fundead commented Jan 21, 2014

I've had a look into this, and the good news is I've managed to get the forked cURL method working (on my Win 8.1 PHP 5.3 environment), so the feature should eventually be possible in some form. Unfortunately, due to Windows limitations, namely the 8kb command line argument limit, curl.exe breaks on large JSON payloads. I've looked into providing the payload as a file argument, but this poses additional challenges regarding the deletion of the temp file when the background sending is complete.

As such windows async requires additional work, and for now I'm sticking with the stream_socket_client method for that platform. I will revisit this shortly with an eye to provide a robust, scalable async feature on Windows.

@mduncan26
Copy link

Closing this issue for now. If you wish to see this issue addressed please create a new issue or post within our forums (https://raygun.com/forums). Thank you.

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

No branches or pull requests

3 participants