View Issue Details

IDProjectCategoryView StatusLast Update
0003502unrealircdpublic2009-07-24 01:09
ReporterTheSkorm Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionopen 
Product Version4.0-devel 
Summary0003502: No more curl
DescriptionIs it possible to build in remote inculdes into unreal4 rather than using curl or the like..

14:05:56 <&Peppery> curl is a massive nigger
3rd party modules

Activities

Stealth

2007-08-04 23:22

reporter   ~0014670

it is indeedly possible and simple to grab plain text files with just sockets and no special libraries, but when it comes to SSL, FTP and FTP+SSL it gets a little more difficult.

Do you have a suggestion for a different lib/utility or can code a module that can do this without extras and reliance on external utilities not already used by Insp/U4?

TheSkorm

2007-08-04 23:27

reporter   ~0014671

Not quite yet, I'm just a piddly little QA.

stskeeps

2007-08-05 03:36

reporter   ~0014676

Also, libcurl also provides:
FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP

Which is more than we can ever do and would die trying.. I think libcurl when you want remoteincludes is a good thing.

aquanight

2007-08-12 22:51

reporter   ~0014723

Last edited: 2007-08-12 22:52

Keeping curl/remoteinclude support to a module could be handy though. Make it possible for those who only use http, only use https, only use ftp(s), etc can have a module that just does that without needing the whole beast of libcurl. As Bugz said, it's not hard to code a HTTP client for the purpose, and I'm sure the SSL provider modules can make it simpler to handle HTTPS.

I've personally sorta wanted to see something that could yank STDOUT from a command. Easier to do scripted stuff on data that's only used on one server without the overhead/overkill of an httpd. (But naturally such thing should only accept stuff from local configs, if it's possible to tell.)

stskeeps

2007-08-13 03:39

reporter   ~0014724

I've pointed Dan in direction of making an API for this stuff so we can modulary change what method people use. So we can choose between curl/exec() etc etc.

Issue History

Date Modified Username Field Change
2007-08-04 23:09 TheSkorm New Issue
2007-08-04 23:09 TheSkorm QA => Not touched yet by developer
2007-08-04 23:09 TheSkorm U4: Need for upstream patch => No need for upstream InspIRCd patch
2007-08-04 23:09 TheSkorm U4: Upstream notification of bug => Not decided
2007-08-04 23:09 TheSkorm U4: Contributor working on this => None
2007-08-04 23:22 Stealth Note Added: 0014670
2007-08-04 23:27 TheSkorm Note Added: 0014671
2007-08-05 03:36 stskeeps Note Added: 0014676
2007-08-12 22:51 aquanight Note Added: 0014723
2007-08-12 22:52 aquanight Note Edited: 0014723
2007-08-13 03:39 stskeeps Note Added: 0014724
2009-07-24 01:09 Stealth Status new => closed