You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Nils Hügelmann (JIRA)" <ji...@apache.org> on 2011/04/14 21:48:05 UTC

[jira] [Issue Comment Edited] (THRIFT-322) IHttpHandler for Thrift

    [ https://issues.apache.org/jira/browse/THRIFT-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020004#comment-13020004 ] 

Nils Hügelmann edited comment on THRIFT-322 at 4/14/11 7:47 PM:
----------------------------------------------------------------

Created some test, but everytimes the third request aborts with a "System.Net.WebException: The request timed out" at System.Net.HttpWebRequest.GetRequestStream () of the client. There is no data transmitted tcp but the server is able to process further requests after client restart.

Can somebody please confirm this?

Patch does also contain the error in the makefile.

I have changed the syntax for the test program:
old
ThriftTest.exe server [port]
new
ThriftTest.exe server tcp|http [port]

my test:
mono ThriftTest.exe server http 61000
mono ThriftTest.exe client -u http://localhost:61000/

btw please dont forget to apply my httphandler3.patch to fix the makefile problem

[EDIT] typo

      was (Author: nilshu):
    Created some test, but everytimes, the third request aborts with a "System.Net.WebException: The request timed out" at System.Net.HttpWebRequest.GetRequestStream () of the client. There is no data transmitted tcp and the server is able to process further requests after client restart.

Can somebody please confirm this?

Patch does also contain the error in the makefile.

I have changed the syntax for the test program:
old
ThriftTest.exe server [port]
new
ThriftTest.exe server tcp|http [port]

my test:
mono ThriftTest.exe server http 61000
mono ThriftTest.exe client -u http://localhost:61000/

btw please dont forget to apply my httphandler3.patch to fix the makefile problem

[EDIT] typo
  
> IHttpHandler for Thrift
> -----------------------
>
>                 Key: THRIFT-322
>                 URL: https://issues.apache.org/jira/browse/THRIFT-322
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C# - Library
>            Reporter: Fredrik Hedberg
>            Assignee: Nils Hügelmann
>            Priority: Minor
>         Attachments: thrift-csharp-httphandler-test.diff, thrift-csharp-httphandler.diff, thrift-csharp-httphandler.diffupdated.diff, thrift-csharp-httphandler2.diff, thrift-csharp-httphandler3.diff
>
>
> IHttpHandler for Thrift.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira