FAQ

(A) the CL is trying to preserve the headers
iirc, would break the test, it does a ping to localhost
(B) we have somehow started using a system call that drops the headers
and the code is trying to avoid dropping the beginning of the data.
which would also break the test



is this for make things work on some kernel/platform that behaves
differently? i think when i did this i tested it on linux, bsd and
mcapple and they all behaved the same way





i suspect someone wants the headers (which is arguably fair) but not
what the API did on the past

i would prefer APIs that don't involve syscall be fairly uniform and not
protocol specific

if you need protocol/platform specific thins, importing syscall or
unsafe might be required


https://codereview.appspot.com/6445105/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 9 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 1, '12 at 2:41p
activeNov 20, '12 at 10:57a
posts9
users5
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase