davecheney / httpstat

It's like curl -v, with colours.
MIT License
6.96k stars 382 forks source link

Binary release #60

Closed AntouanK closed 7 years ago

AntouanK commented 7 years ago

Can someone upload a binary for people that do not have/use Go?

davecheney commented 7 years ago

I'll do this as part of the 1.0 release next sunday.

davecheney commented 7 years ago

I've created a 1.0.0-beta.1 release and uploaded some sample binaries. Please test them if you are able, https://github.com/davecheney/httpstat/releases/tag/v1.0.0-beta.1

limenet commented 7 years ago

At first glance there are no issues on Windows 10 Pro x64. Thanks for the binary!

AntouanK commented 7 years ago

Darwin version works fine on OSX macOS 10.12

moorereason commented 7 years ago

@limenet, Can you test httpstat https://www.google.com/? Do the timings works properly? What is your Windows version/build (run winver)?

I'm troubleshooting #90.

limenet commented 7 years ago

@moorereason Sure can!

I tested httpstat https://www.google.com/ with the executable I got via go get and with the binary (httpstat-windows-amd64-v1.0.0-beta.1.exe).

$ winver
Windows 10
Version 1607 (OS Build 14393.187)
# This is the Windows 10 Anniversary Build
# My machine is setup to receive [Windows Insider Slow Ring builds](https://en.wikipedia.org/wiki/Windows_Insider#Rings)
# However, this build is a public i.e. stable one

$ httpstat https://www.google.com/
# This is the source-code Go version

  DNS Lookup   TCP Connection   TLS Handshake   Server Processing   Content Transfer
[      3ms  |          26ms  |         89ms  |             27ms  |             0ms  ]
            |                |               |                   |                  |
   namelookup:3ms            |               |                   |                  |
                       connect:29ms          |                   |                  |
                                   pretransfer:119ms             |                  |
                                                     starttransfer:147ms            |
                                                                                total:147ms

$ httpstat-windows-amd64-v1.0.0-beta.1 https://www.google.com/
# This is the binary, v1.0.0-beta1

  DNS Lookup   TCP Connection   TLS Handshake   Server Processing   Content Transfer
[      3ms  |          24ms  |         84ms  |             25ms  |             0ms  ]
            |                |               |                   |                  |
   namelookup:3ms            |               |                   |                  |
                       connect:27ms          |                   |                  |
                                   pretransfer:112ms             |                  |
                                                     starttransfer:137ms            |
                                                                                total:137ms   

As you can see by the output above, the timings work properly.

As a side note, I'm using the Ubuntu subsystem on Windows but all commands were executed in the Windows environment.

Just to double check:

$ go env
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Linus\go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Linus\AppData\Local\Temp\go-build501637946=/tmp/go-build
set CXX=g++
set CGO_ENABLED=1

So yes, it should be Windows.

davecheney commented 7 years ago

https://github.com/davecheney/httpstat/releases/tag/v1.0.0-rc.1 has been released. This will hopefully be the final release candidate with a release tomorrow.

davecheney commented 7 years ago

Closed, https://github.com/davecheney/httpstat/releases/tag/v1.0.0