{"action":"created","issue":{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/310","repository_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds","labels_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/310/comments","events_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/310/events","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/310","id":181919198,"number":310,"title":"Slow Connections; Not valid win32 Application; OpenSSL","user":{"login":"metaskills","id":2381,"avatar_url":"https://avatars.githubusercontent.com/u/2381?v=3","gravatar_id":"","url":"https://api.github.com/users/metaskills","html_url":"https://github.com/metaskills","followers_url":"https://api.github.com/users/metaskills/followers","following_url":"https://api.github.com/users/metaskills/following{/other_user}","gists_url":"https://api.github.com/users/metaskills/gists{/gist_id}","starred_url":"https://api.github.com/users/metaskills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaskills/subscriptions","organizations_url":"https://api.github.com/users/metaskills/orgs","repos_url":"https://api.github.com/users/metaskills/repos","events_url":"https://api.github.com/users/metaskills/events{/privacy}","received_events_url":"https://api.github.com/users/metaskills/received_events","type":"User","site_admin":false},"labels":[{"id":450974212,"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/labels/hacktoberfest","name":"hacktoberfest","color":"b0581d","default":false},{"id":454641655,"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/labels/OpenSSL","name":"OpenSSL","color":"fbca04","default":false},{"id":381941288,"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/labels/TinyTDS%20v1.1","name":"TinyTDS v1.1","color":"000080","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2016-10-09T23:26:16Z","updated_at":"2016-12-02T07:12:13Z","closed_at":null,"body":"We have had several issues with OpenSSL statically linked in the Windows gem. Issues include #250 and #290. Symptoms of using OpenSSL v1.0.x include:\r\n\r\n* Slow initial connections.\r\n* tiny_tds.so not a valid win32 application\r\n\r\n### Potential Workarounds\r\n\r\n* Adding TinyTDS just before Rails starts up, for example above Bundler's setup in boot.rb.\r\n* Setting chcp 866 for tiny_tds.so\r\n\r\n### Proposed Next Steps\r\n\r\nOne of the following two have been proposed.\r\n\r\n* Hacks for old OpenSSL. Like using libeay32.dll.\r\n* Use a modern OpenSSL v1.1.0\r\n\r\n##### Test Appveyor Build\r\n\r\nIt would be really nice if we changed our OpenSSL version in extconsts.rb to use 1.1.0.x. I found when doing this that there are some Perl errors on Appveyor because the version is too low. We have a path config set to `SET PATH=C:\\MinGW\\msys\\1.0\\bin;%PATH%` and that seems to put a old version of Perl in. I did try adding `SET PATH=C:\\Perl\\bin` after the MinGW, but it does not seem to add totally fix the issue.\r\n\r\n##### Update Docker Usage\r\n\r\nI will be doing some CircleCI testing to ensure 1.1.x works for posix systems. However, there is a fair amount of work to make the native `rake gem:windows` tasks work for us to distribute native Windows gems."},"comment":{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/comments/264389210","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/310#issuecomment-264389210","issue_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/310","id":264389210,"user":{"login":"YvesR","id":4928882,"avatar_url":"https://avatars.githubusercontent.com/u/4928882?v=3","gravatar_id":"","url":"https://api.github.com/users/YvesR","html_url":"https://github.com/YvesR","followers_url":"https://api.github.com/users/YvesR/followers","following_url":"https://api.github.com/users/YvesR/following{/other_user}","gists_url":"https://api.github.com/users/YvesR/gists{/gist_id}","starred_url":"https://api.github.com/users/YvesR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvesR/subscriptions","organizations_url":"https://api.github.com/users/YvesR/orgs","repos_url":"https://api.github.com/users/YvesR/repos","events_url":"https://api.github.com/users/YvesR/events{/privacy}","received_events_url":"https://api.github.com/users/YvesR/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T07:12:13Z","updated_at":"2016-12-02T07:12:13Z","body":"Awesome job @coderjoe, so if you want me to make some tests on windows I will help. Just tell when and what you want me to test.\r\n"}}
{"actor":{"display_login":"YvesR"}}