You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2024/03/12 05:12:02 UTC

[PR] Add simple Ruby server example [arrow-experiments]

kou opened a new pull request, #17:
URL: https://github.com/apache/arrow-experiments/pull/17

   fix apache/arrow#40479


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add simple Ruby server example [arrow-experiments]

Posted by "ianmcook (via GitHub)" <gi...@apache.org>.
ianmcook merged PR #17:
URL: https://github.com/apache/arrow-experiments/pull/17


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add simple Ruby server example [arrow-experiments]

Posted by "ianmcook (via GitHub)" <gi...@apache.org>.
ianmcook commented on PR #17:
URL: https://github.com/apache/arrow-experiments/pull/17#issuecomment-1991629068

   Thanks @kou! 
   
   I tested this with all the client examples. The only problem I found was with the C GLib client:
   
   When I run the C GLib client with this this Ruby server, the server prints this message:
   ```
   ::1 - - [12/Mar/2024:09:14:43 -0400] "GET / HTTP/1.1" 200 - 0.8649
   [2024-03-12 09:14:44] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:18 
   	/opt/homebrew/lib/ruby/gems/3.3.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:82:in `eof?'
   	/opt/homebrew/lib/ruby/gems/3.3.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:82:in `run'
   	/opt/homebrew/lib/ruby/gems/3.3.0/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add simple Ruby server example [arrow-experiments]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #17:
URL: https://github.com/apache/arrow-experiments/pull/17#issuecomment-1993629675

   I've add missing `.gitignore`. Good catch!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add simple Ruby server example [arrow-experiments]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #17:
URL: https://github.com/apache/arrow-experiments/pull/17#issuecomment-1993628546

   Ah, it's happen because GLib client uses keep-alive and Ruby's HTTP server is sensitive for disconnection check of keep-alive connection.
   
   I'll disable keep-alive of GLib client.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add simple Ruby server example [arrow-experiments]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #17:
URL: https://github.com/apache/arrow-experiments/pull/17#issuecomment-1993634579

   GLib client: https://github.com/apache/arrow-experiments/pull/20


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add simple Ruby server example [arrow-experiments]

Posted by "ianmcook (via GitHub)" <gi...@apache.org>.
ianmcook commented on PR #17:
URL: https://github.com/apache/arrow-experiments/pull/17#issuecomment-1991635131

   Can you add a `.gitignore` with `Gemfile.lock` please?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org