Protocols.HTTP.Server.Request and a reference back to the listening socket?

2020-05-28 Thread Stephen R. van den Berg
Once you have an accepted connection in Protocols.HTTP.Server.Request, is there a reference to the original listening socket the connection was accepted on? Why don't we preset the set_id()/query_id() value on the accepted socket with the one from the listening socket? -- Stephen.

Re: Protocols.HTTP.Server.Request and a reference back to the listening socket?

2020-05-28 Thread Stephen R. van den Berg
Stephen R. van den Berg wrote: >Once you have an accepted connection in Protocols.HTTP.Server.Request, is >there a reference to the original listening socket the connection >was accepted on? Ah, I think I found something: server_port seems to be a reference to the listening socket. -- Stephen.

Re: GL build error on MacOS 10.14

2020-05-28 Thread Marc Simpson
On Thu, May 28, 2020 at 8:48 AM Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum <10...@lyskom.lysator.liu.se> wrote: > > >Also, GL is deprecated as of 10.14, > > Hm? They can't seriously expect people to use Vulcan or some crap > like that, can they? "Metal", apparently:

Annotation question

2020-05-28 Thread H William Welliver
Given: A.pmod/B.pike inherit Pike.Annotation; A.pmod/C.pike inherit Pike.Annotation; and test.pike: @A.B; @A.C: string foo; function bar; class gazonk { @A.B; } I can do: > object o = ((program)"test.pike")(); > mkmapping(indices(o), annotations(o)); (1) Result: ([ /* 3 elements */

GL build error on MacOS 10.14

2020-05-28 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
>Also, GL is deprecated as of 10.14, Hm? They can't seriously expect people to use Vulcan or some crap like that, can they?

GL build error on MacOS 10.14

2020-05-28 Thread H William Welliver
[I’m not very familiar with this module, so I’ll leave this as a bug report rather than fixing it myself] On MacOS 10.14, master fails to build the GL module with the following error: /Users/hww3/devel/pike/src/post_modules/GL/GLSL.cmod:800:5: error: use of undeclared identifier

Re: Any interest in an open source HTTP daemon in Pike? (Spike)

2020-05-28 Thread Stephen R. van den Berg
Chris Angelico wrote: >> I've written (for internal use) an HTTP daemon in Pike, using roughly >> the following featureset: >> If there is interest, I'll clean up the code a bit more, and make it >> available >> via a git repo somehwere. Well, I put something preliminary up. Take a look, and

Re: Any interest in an open source HTTP daemon in Pike? (Spike)

2020-05-28 Thread Stephen R. van den Berg
Stephen R. van den Berg wrote: >git clone git://devel2.cuci.nl/spike In case it wasn't obvious: Spike needs a fairly recent Pike from master (from commit 2f9f4bdff4e (May 28th 2020 and newer). -- Stephen.