it feels wrong, but I can't actually say why with solid arguments
other than that it would be better not to ship stuff that's not needed, in which case you want split packages, which is precisely the point :-P
idk, the whole thing feels a little messy, I get why you want this but I do think the costs outweigh the benefits, I'd lean more towards a parent repo with submodules for dev and using the component targets for packagist/pecl/etc
"other than that it would be better not to ship stuff that's not needed" - you can use the git attributes to exclude files for Composer, and the extension has a list of files for which ones to include in the distribution.
> If you maintain a Composer package, start adding || ^8 to your PHP requirements now, and use --ignore-platform-reqs when running builds against PHP nightlies.
Yeh, I realised that you can read the ClientHello from the buffer with stream_socket_recv(STREAM_PEEK) before the first stream_socket_enable_crypto() call and parse out a whole bunch of stuff
so you can manually do cert selection, and/or reject connections before negotiating TLS
idk, I mean obv the registered ports 80/443 have existed for a very long time, and were probably assigned that way to keep software simple, but in retrospect I realised that both SMTP and FTP do it the other way, and they have been around for just as long
yeh that's what I though, but it turns out not. You can assign an explicit SMTP/TLS connector to listen on the same port as raw SMTP in exchange, since at least exch 2005
and filezilla server supports explicit/implicit tls on the same port as well
it's not obvious, but it doesn;t complain when you do it
I'm not sure whether I hate FTP or SMTP more... I mean for all it's faults, at least the problems with SMTP are only syntactical, FTP just creates sockets for fun
and srsly what the ever loving shit is the deal with the port spec with PASV
I get the idea of breaking up an int16 into two int8s to avoid endianness confusion, but why in the name of all that is holy would you then transmit that as a comma separated pair of ASCII decimals