HttpTunnelingClientExample

"이희승 (Trustin Lee)" trustin at gmail.com
Tue Jul 14 23:14:50 EDT 2009


Hi Mike,

I have finished the overhaul of HTTP tunneling transport, and I've made
sure that the problem you reported has gone now. :)

Thanks,
Trustin

On 07/02/2009 01:20 AM, 이희승 (Trustin Lee) wrote:
> Hi Mike,
> 
> The example should not break even if the written line is empty.  It's
> perhaps a bug.  I will revisit once HTTP tunneling transport is
> revamped.  It has a couple known issues and needs major overhaul.
> 
> Thanks,
> Trustin
> 
> On 06/30/2009 08:41 AM, Michael McGrady wrote:
>> The noted example client
>> breaks if there is a String with 0 length returned from the command
>> line.  This is probably obvious to everyone.  An equally obvious fix is
>> to put in a pass through user instruction like:
>>
>>
>>             
>>
>>             if (line.length() != 0) {
>>             // Sends the received line to the server.
>>             lastWriteFuture = channelFuture.getChannel().write(line);
>>             } else {
>>             System.out.println("Enter \"quit\" ") ;
>>             }
>>
>> in the main method.
>>
>> Mike
>>
>>
>>
>> Mike McGrady
>> Principal Investigator AF081-028 AFRL SBIR
>> Senior Engineer
>> Topia Technology, Inc
>> 1.253.720.3365
>> mmcgrady at topiatechnology.com <mailto:mmcgrady at topiatechnology.com>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
> 




More information about the netty-users mailing list