pires / go-proxyproto

A Go library implementation of the PROXY protocol, versions 1 and 2.
Apache License 2.0
478 stars 107 forks source link

May I get full tcp header from fasthttp.RequestCtx? #100

Closed auxo86 closed 1 year ago

auxo86 commented 1 year ago

Hi there, I want to write a middleware for fiber (fasthttp based framework). May I get full tcp header from fasthttp.RequestCtx? Many thanks.

pires commented 1 year ago

Hello. I am clueless. Maybe ask fasthttp folks? Good luck.

auxo86 commented 1 year ago

I m sorry, it's my fault😆

auxo86 commented 1 year ago

In fact, I want to integrate this package into fasthttp, however, I can't read tcp header correctly when using fasthttp. Would you like to help me do it?