I have recently been reflecting about OrangeFS and AMD's HSA and how they
eventually reach golang users. That implies somewhere there will be a
cgogen generated wrapper for them somehow, then they will be used.
What if OrangeFS' and HSA were deeply embedded into the go language
themselves in a
for the moment.
On Wednesday, August 10, 2016 at 10:00:37 AM UTC-4, David Marceau wrote:
>
> when I install from sources straight from git checkout go1.7rc6
> go1.7rc6 FAILS on Asus Z97-A-USB31 motherboard with intel i5-4590,
> "../misc/cgo/testsanitizers"
> it core dump
ed the residue CXX pointing to g++ so it should be built using this
instead:
CC=/usr/bin/clang CXX=/usr/bin/clang++
GOROOT_BOOTSTRAP=/root/SQstuff/go1.7rc5 ./make.bash
On Thursday, August 11, 2016 at 11:30:54 AM UTC-4, David Marceau wrote:
>
>
> On ArchLinux with a previously gcc built
because it was confused as to what CC it should
be using since I had both gcc and clang installed on my box.
On Wednesday, August 10, 2016 at 1:07:50 PM UTC-4, Ian Lance Taylor wrote:
>
> On Wed, Aug 10, 2016 at 7:00 AM, David Marceau
> > wrote:
> > when I install from sour
when I install from sources straight from git checkout go1.7rc6
go1.7rc6 FAILS on Asus Z97-A-USB31 motherboard with intel i5-4590,
"../misc/cgo/testsanitizers"
it core dumps and doesn't give me the success message to start using it as
the previous go1.7rc[1-4] did.
signal: segmentation fault (cor
hers.com/limit-https-listener/
>
> tcpKeepAliveListener ended up being the only code that was copied but not
> specialized. It would have been nice if it were exported from the http
> package.
>
> On Thursday, August 4, 2016 at 12:27:18 AM UTC+2, David Marceau wrote:
>>
&g
I tried just what you mentioned. Unfortunately even my interim solution
when it is outside of the net.http package and within mine, there are many
services that are not exported meaning I can't use them at all and the
variables themselves are inaccessible.
I tried copying pasting some functions
I perused your blog entry you mentioned. It's very interesting and will
come in handy in the future. Thank you.
I can appreciate your point of view about accepting the fact that currently
listeners are not part of the Server and just proceed to produce code and
get it done ASAP. My interim
I can understand at first glance we may perceive ListenAndServeTLS as a
convenience helper, but if enough people to copy and paste its contents to
modify it, then the sublety is
the function is actually assumed to be part of a Foundation/Framework that
people build on top of. It is under the gol
Another question: Why wasn't tlsListener placed as part of the Server structure?
I think it makes sense to place it there since it is the server that creates
and uses it.
It also makes sense to expose it to tweak it as some might more control over it
and in this case the constraining the number
ener, connectionCount)?
I'm doing my best not to tweak/recompile golang's sources to introduce this
limitlistener feature to a tls server.
I was hoping someone had a trick to avoid that.
Thank you.
David Marceau
--
You received this message because you are subscribed to the Google Gro
efore the serveFile.
That's all. Thanks to everyone who dropped by.
On Friday, June 24, 2016 at 9:44:00 AM UTC-4, David Marceau wrote:
>
> Here is what is in my import. Maybe I should be looking in goji instead
> of net/http?
>
>
> import (
> "
pto/tls"
"crypto/rand"
"github.com/gorilla/mux"
"github.com/goji/httpauth"
"github.com/zfjagann/golang-ring"
"github.com/kabukky/httpscerts"
"reflect"
"io"
"io/ioutil"
"path/filep
Dir(), "OurGeneratedCustomLog")
defer os.Remove(tmpFile.Name())
tmpFile.Write(myOutput)
tmpFile.Close()
http.ServeFile(w, r, tmpFile.Name())
//ATTEMPT #5
w.Header().Set("Content-Disposition","attachment;filename=" + "\"" +
str
Again, I want to clarify the file does arrive in the browser, but I want to
ensure the "file->save..." dialog appears in the web browser when it
arrives. I found some older code I wrote a couple of years ago that was
behaving as expected:
w.Header().Set("Content-Type", "application/octet-st
quot; +
strSomeFileName)
myCmdOutput, _ := cmd.Output()
//with or without following line, it still doesnt display the
"file->save..." dialog in the web browser
//w.Header().Set("Content-Length", strconv.Ito( len(myCmdOutput) ) )
w.Write(myCmdOutput)
Does anyone have any
16 matches
Mail list logo