>>>>> On Thu, 10 Mar 2016 21:07:15 -0500 (EST), Stuart Douglas <sdouglas_at_redhat.com> said:
SD> Something we should probably note in the Javadoc is that even if
SD> .push() returns true it is no guarantee that the browser will accept
SD> it (i.e. it could still just reset the stream).
SD> It is for this reason that I don't think this is a super useful API,
SD> its the difference between 'rejected because there was a race with a
SD> settings frame' (which seems very unlikely to actually happen in the
SD> real world) vs 'rejected due to RST_STREAM' (which IMHO is much more
SD> likely to happen).
When you say you don't think it is a useful API, do you mean returning
boolean from push()? If that's the case, do you think we should keep
the current arrangement of returning void?
Thanks,
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017