[1] https://github.com/sorced-jim/SPDY-for-iPhone
--
Thanks,
Jim
http://phython.blogspot.com
2012/02/03 7:37 "James A. Morrison" <jim.mo...@gmail.com>:
>
> Thanks, I've managed to use your code to mostly make an obj-c
> version of spdycat[1]!
>
>
> [1] https://github.com/sorced-jim/SPDY-for-iPhone
>
Spdycat on iPhone? That is Great!
For Android 2.x users like me, you can compile spdycat using ndk (For me ndk7 is not working. libsupc++ not found. I used ndk6b).
Here is a spdycat android binary with openssl-1.0.1b2 statically linked.
http://sourceforge.net/projects/spdylay/files/contrib/?
2012/02/14 14:42 "Gautam Dewan" <gde...@gmail.com>:
:)
It is great to hear that my tiny piece of code is actually helping people.
It really encourages the development effort.
Best regards ,
Tatsuhiro Tsujikawa
2012/07/06 1:30 "Suyambulingam R M" <lingam....@gmail.com>:
>
>
> Hi Tatsuhiro ,
>
> Am using latest code oly...
> client : ./spdycat -nv https://localhost:3000/ oly works for me.If i give https://www.google.com client is not responding at all.
> server ./spdyd -v 3000 server.key server.crt
>
> Is there a different procedure to run in command line tool. Am running server and client in the same machine. Can you please give me info that how u are running, Thanks in advance. Awaiting ur reply.
>
My command line is the same one you use. Are you behind a proxy? If so, spdycat does not work because it does not support proxy at the moment.
Best regards,
Tatsuhiro Tsujikawa
Hi Tatsuhiro ,
I am in need of your help too. I am trying to implement my own parsers for HTTP and SPDY. When I send the reply back to chrome it sends me a FIN. No idea why. Can I not send the SYN_REPLY and the data in the same packet?? I am specifying the length in the SYN_REPLY packet and the stream ends after the compressed name value pairs. After that I start the data frame in the same packet. and send the data received by the web server. Kindly help
Thanks in advance;
Sunil Panigrahi
On Tuesday, June 4, 2013 12:01:43 PM UTC+5:30, ramswish wrote:Hi, I am new to C++ code. i am tried compiling C SPDY library. now i need to test that library.i see the command like ./spdycat -vn https://www.google.com/I am struggling to compile spdycat executable... i placed spdylay include folder in /usr/local/include and i tired compiling using gcc spdylay.ccbut i am getting so many errors likein function spdylay::print_usage(std::basic_ostream<char, std:: char_traits<char> > &)':like this i am gettting many errors saying .text+0x5c1 .text+0x5c2 ..etcCan any one pls help me to solve this problem and give me the steps to setup the client and server to test C SPDY libary.Thanks in advanceramswish
On Wednesday, 1 February 2012 21:35:59 UTC+5:30, Tatsuhiro Tsujikawa wrote:
--
---
You received this message because you are subscribed to the Google Groups "spdy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spdy-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Tatsuhiro ,
Thanks for the previous reply. :)
I think its a TCP fin. IP 111 is my handset and 78 is the gateway. The 1st packet received is SETTING frame followed by the SYN_STREAM. The GW is sending back the response in SYN_REPLY. I am not sure if the packet in which I am sending SYN_REPLY should contain only the headers and (compressed) name/value pairs or I can attach the data too in the same packet. Also, how about the removal of chunked data? Is it necessary? Should I just remove the "length\r\n" at the beginning and "\r\n" at the end and send the remaining data as it has come from web server or I will have to change that as well??
data too in the same packet. Also, how about the removal of chunked data?
x-xss-protection: 1; mode=block
x-frame-options: sameorigin
cache-control: private, max-age=0
connection: keep-alive
content-encoding: gzip
content-type: text/html; charset=utf-8
date: thu, 13 jun 2013 13:18:12 gmt
expires: -1
server: gws
[..]
I think the issue is with the next packets that I am sending,
I guess I will have to convert chunked response to content length format.
Is content length a mandatory header??
On Thursday, June 13, 2013 6:46:01 PM UTC+5:30, Patrick McManus wrote:
On Thu, Jun 13, 2013 at 8:39 AM, Sunil Panigrahi <sunil.kr.pa...@gmail.com> wrote:
data too in the same packet. Also, how about the removal of chunked data?you need to remove http/1 chunking, yes.chunked encoding is no longer valid (spdy/2)Transfer-encoding headers are not valid and MUST not be sent. (spdy/3)..
...There are a number of translations between headers that need to be done to gateway http/1 back and forth through spdy correctly. "Accept-Encoding: gzip" is another one. (it is implicit in each request).
Thanks for the response,
What I finally realized is that the browser(chrome) is sending me a FIN (TCP FIN) as a response for the 1st packet(SYN_REPLY) I am sending back to the gateway. After the first packet there is another packet that I am sending which is the 1st data packet. The gateway sends me a reset for this packet as it has already sent the FIN for the 1st packet. I am sure that the packet which I am sending is in the right format(as per SPDY). What could be the possible reason for the FIN??
Hey Tatsuhiro,
I finally realized where I was going wrong. Actually I was not compressing the number of name/value pairs. In SPDY 3 this part is not compressed(as per what I understood from the draft) whereas in SPDY2 it is.
int qlen = 5; // Value to be chosen by application
setsockopt(sfd, SOL_TCP, TCP_FASTOPEN, &qlen, sizeof(qlen));
But I do not know how to place sendto(sfd, data, data_len, MSG_FASTOPEN, (struct sockaddr *) &server_addr, addr_len);
Kindly give some advice
Best regards
laila daniel