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.
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.
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:
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 */
>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?
[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
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
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.