• Tatsuhiro Tsujikawa's avatar
    Changed spdylay_select_next_protocol behaviour · d0cd3628
    Tatsuhiro Tsujikawa authored
    It now always select "spdy/2" as a next protocol regardless whether or not
    the server advertises it. The NPN draft allows this.
    Returning integer version number is not flexible because the selected protcol
    is just a string.
    The function now returns 0 if the server advertised spdy/2, or -1.
    d0cd3628
spdylay_ssl.cc 9.92 KB