gopherproxy-c-sdk, branch HEADgopherproxy-c customized
500ede628d2557b8b68257484597f67f03f87e942019-04-22T11:25:52Z2019-04-22T11:25:52Zrewrite support (lazy version)Stefan Hagensh+git@codevoid.decommit 500ede628d2557b8b68257484597f67f03f87e94
parent 737985333a6beea0e609b139b080228b117ef9c3
Author: Stefan Hagen <sh+git@codevoid.de>
Date: Mon, 22 Apr 2019 13:25:52 +0200
rewrite support (lazy version)
737985333a6beea0e609b139b080228b117ef9c32018-10-30T14:09:36Z2018-10-30T14:09:36Zsdk customizationsStefan Hagensh+git@codevoid.decommit 737985333a6beea0e609b139b080228b117ef9c3
parent 861e6fd9d5d8c09ca68e120db43279d3e5d5a938
Author: Stefan Hagen <sh+git@codevoid.de>
Date: Tue, 30 Oct 2018 15:09:36 +0100
sdk customizations
861e6fd9d5d8c09ca68e120db43279d3e5d5a9382018-08-29T22:06:12Z2018-08-31T10:39:31Zsdk's customizationsStefan Hagensh+git@codevoid.decommit 861e6fd9d5d8c09ca68e120db43279d3e5d5a938
parent 31bf0e0fa53e34bf32a57257f6e306a67ea813a6
Author: Stefan Hagen <sh+git@codevoid.de>
Date: Thu, 30 Aug 2018 00:06:12 +0200
sdk's customizations
31bf0e0fa53e34bf32a57257f6e306a67ea813a62018-08-21T15:43:52Z2018-08-21T15:43:52Zimprove uri parsing according to the RFC specHiltjo Posthumahiltjo@codemadness.orgcommit 31bf0e0fa53e34bf32a57257f6e306a67ea813a6
parent ab450f6020e7a69eaba6446167ba25b9d296a5d9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 21 Aug 2018 17:43:52 +0200
improve uri parsing according to the RFC spec
the path doesn't have to start with /
ab450f6020e7a69eaba6446167ba25b9d296a5d92018-08-19T19:01:21Z2018-08-19T19:07:40ZREADME: add instructions for tor proxyingtrqx@goat.sitrqx@goat.sicommit ab450f6020e7a69eaba6446167ba25b9d296a5d9
parent 01c9ba076423824ce71944c7af6e0c3f24960ec8
Author: trqx@goat.si <trqx@goat.si>
Date: Sun, 19 Aug 2018 21:01:21 +0200
README: add instructions for tor proxying
01c9ba076423824ce71944c7af6e0c3f24960ec82018-08-19T17:00:20Z2018-08-19T18:45:03ZREADME: add caddy configurationtrqx@goat.sitrqx@goat.sicommit 01c9ba076423824ce71944c7af6e0c3f24960ec8
parent f7929385112388c25324b99525a88df3daba908c
Author: trqx@goat.si <trqx@goat.si>
Date: Sun, 19 Aug 2018 19:00:20 +0200
README: add caddy configuration
f7929385112388c25324b99525a88df3daba908c2018-08-19T16:55:25Z2018-08-19T18:43:43ZREADME: fix typotrqx@goat.sitrqx@goat.sicommit f7929385112388c25324b99525a88df3daba908c
parent 9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d
Author: trqx@goat.si <trqx@goat.si>
Date: Sun, 19 Aug 2018 18:55:25 +0200
README: fix typo
9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d2018-08-17T16:50:11Z2018-08-17T16:50:11ZREADME: add CGI configuration examplesHiltjo Posthumahiltjo@codemadness.orgcommit 9513ef706fdb1d0fe7ec1c8f6da1fb78ed573f2d
parent e21c517078a89ad1023d7ac0c5db8aa5eecab7a9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 18:50:11 +0200
README: add CGI configuration examples
e21c517078a89ad1023d7ac0c5db8aa5eecab7a92018-08-17T16:37:32Z2018-08-17T16:37:32Zminor code-styleHiltjo Posthumahiltjo@codemadness.orgcommit e21c517078a89ad1023d7ac0c5db8aa5eecab7a9
parent 9612b7ed97d46f386db7334b7ef880038a92df8c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 18:37:32 +0200
minor code-style
9612b7ed97d46f386db7334b7ef880038a92df8c2018-08-17T16:37:09Z2018-08-17T16:37:09Zparseuri: support IPv6 address for hostHiltjo Posthumahiltjo@codemadness.orgcommit 9612b7ed97d46f386db7334b7ef880038a92df8c
parent d0cd571a262cbbca3c7d12f08799e6835552bf13
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 18:37:09 +0200
parseuri: support IPv6 address for host
d0cd571a262cbbca3c7d12f08799e6835552bf132018-08-17T16:36:45Z2018-08-17T16:36:45Zblacklist path not starting with / and ports other than 70 or 7070Hiltjo Posthumahiltjo@codemadness.orgcommit d0cd571a262cbbca3c7d12f08799e6835552bf13
parent 0c008b2c7e67000e28de30bb3fc85b956a7645e0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 18:36:45 +0200
blacklist path not starting with / and ports other than 70 or 7070
0c008b2c7e67000e28de30bb3fc85b956a7645e02018-08-17T14:08:59Z2018-08-17T14:08:59Ztelnet/tn3270: don't use @ if username is emptyHiltjo Posthumahiltjo@codemadness.orgcommit 0c008b2c7e67000e28de30bb3fc85b956a7645e0
parent 9890cde16cba2a03048800bfd81919b0bf9f0e5c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 16:08:59 +0200
telnet/tn3270: don't use @ if username is empty
9890cde16cba2a03048800bfd81919b0bf9f0e5c2018-08-17T14:08:52Z2018-08-17T14:08:52ZREADME: Gopher+ is not supportedHiltjo Posthumahiltjo@codemadness.orgcommit 9890cde16cba2a03048800bfd81919b0bf9f0e5c
parent 328eee3a3a6814914911e25e3447adb9cc09f4ba
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 16:08:52 +0200
README: Gopher+ is not supported
328eee3a3a6814914911e25e3447adb9cc09f4ba2018-08-17T14:01:10Z2018-08-17T14:01:10Zfor the gif type set Content-Type explicitly, try image detection by extensionHiltjo Posthumahiltjo@codemadness.orgcommit 328eee3a3a6814914911e25e3447adb9cc09f4ba
parent 2188db7bb8e13eb43c8e61376baf0381be3af513
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 16:01:10 +0200
for the gif type set Content-Type explicitly, try image detection by extension
2188db7bb8e13eb43c8e61376baf0381be3af5132018-08-17T14:00:45Z2018-08-17T14:00:45Zhandle telnet and tn3270 typesHiltjo Posthumahiltjo@codemadness.orgcommit 2188db7bb8e13eb43c8e61376baf0381be3af513
parent ba4a6bfff30969bbea9529f7852cd4b929421fbe
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 16:00:45 +0200
handle telnet and tn3270 types
ba4a6bfff30969bbea9529f7852cd4b929421fbe2018-08-17T14:00:07Z2018-08-17T14:00:07Zdisplay more types as documented in the RFC, distinguish reserved typesHiltjo Posthumahiltjo@codemadness.orgcommit ba4a6bfff30969bbea9529f7852cd4b929421fbe
parent b8a14c3c0df0a4d9ad6eca8bc772ca0140a0e897
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 16:00:07 +0200
display more types as documented in the RFC, distinguish reserved types
b8a14c3c0df0a4d9ad6eca8bc772ca0140a0e8972018-08-17T13:59:38Z2018-08-17T13:59:38ZMakefile: when changing Makefile: rebuildHiltjo Posthumahiltjo@codemadness.orgcommit b8a14c3c0df0a4d9ad6eca8bc772ca0140a0e897
parent 1a3a39b35b6a350bec8b37e833639a671717c59e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 15:59:38 +0200
Makefile: when changing Makefile: rebuild
1a3a39b35b6a350bec8b37e833639a671717c59e2018-08-17T13:59:20Z2018-08-17T13:59:20ZMakefile: build static by defaultHiltjo Posthumahiltjo@codemadness.orgcommit 1a3a39b35b6a350bec8b37e833639a671717c59e
parent 63d1799106c7f186d008b3085f1d6059c99b2681
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 15:59:20 +0200
Makefile: build static by default
63d1799106c7f186d008b3085f1d6059c99b26812018-08-17T13:58:26Z2018-08-17T13:58:26ZREADME: update and document workaround for a bug with nginx 1.12Hiltjo Posthumahiltjo@codemadness.orgcommit 63d1799106c7f186d008b3085f1d6059c99b2681
parent 2922b5f38556aacf5dd1c6928b34be60a07cec7b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 15:58:26 +0200
README: update and document workaround for a bug with nginx 1.12
2922b5f38556aacf5dd1c6928b34be60a07cec7b2018-08-17T10:50:40Z2018-08-17T10:50:40Zfix: initialize uri also when query is emptyHiltjo Posthumahiltjo@codemadness.orgcommit 2922b5f38556aacf5dd1c6928b34be60a07cec7b
parent 37d95c874eab8ad35bd95ad3381405310934cd08
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Aug 2018 12:50:40 +0200
fix: initialize uri also when query is empty
+ minor code-style.
37d95c874eab8ad35bd95ad3381405310934cd082018-08-14T12:23:31Z2018-08-14T12:23:31Zdial error: add newlineHiltjo Posthumahiltjo@codemadness.orgcommit 37d95c874eab8ad35bd95ad3381405310934cd08
parent dbe80c7d9f93688585348abacbde2cd22c5373a9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 14 Aug 2018 14:23:31 +0200
dial error: add newline
dbe80c7d9f93688585348abacbde2cd22c5373a92018-08-13T10:42:29Z2018-08-13T10:45:51ZAdd Linux compile support.Christoph Lohmann20h@r-36.netcommit dbe80c7d9f93688585348abacbde2cd22c5373a9
parent c203aa551a7deb54746100ba0532d5e6d234ad85
Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 13 Aug 2018 12:42:29 +0200
Add Linux compile support.
c203aa551a7deb54746100ba0532d5e6d234ad852018-08-12T17:28:28Z2018-08-12T17:28:28Zfor uri use a simple pointer: no copy is neededHiltjo Posthumahiltjo@codemadness.orgcommit c203aa551a7deb54746100ba0532d5e6d234ad85
parent 68d669677f9f159d33c5b8f369f716edd2dd91e0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:28:28 +0200
for uri use a simple pointer: no copy is needed
68d669677f9f159d33c5b8f369f716edd2dd91e02018-08-12T17:28:09Z2018-08-12T17:28:09Zfix fallthrough, search items were displayed incorrectlyHiltjo Posthumahiltjo@codemadness.orgcommit 68d669677f9f159d33c5b8f369f716edd2dd91e0
parent a3dbec3aff240cf18792ac54e40d7ea04dae4d07
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:28:09 +0200
fix fallthrough, search items were displayed incorrectly
a3dbec3aff240cf18792ac54e40d7ea04dae4d072018-08-12T17:27:16Z2018-08-12T17:27:16Zuse dprintf and reorder so a fflush is not needed, saves some linesHiltjo Posthumahiltjo@codemadness.orgcommit a3dbec3aff240cf18792ac54e40d7ea04dae4d07
parent 09feebbc6b6947493acdadf0afca1a61da517c40
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:27:16 +0200
use dprintf and reorder so a fflush is not needed, saves some lines
+ minor cleanup
09feebbc6b6947493acdadf0afca1a61da517c402018-08-12T17:26:29Z2018-08-12T17:26:29Zfor normal info text prefix with type (spaces) so it aligns properlyHiltjo Posthumahiltjo@codemadness.orgcommit 09feebbc6b6947493acdadf0afca1a61da517c40
parent f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:26:29 +0200
for normal info text prefix with type (spaces) so it aligns properly
f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f62018-08-12T17:10:23Z2018-08-12T17:10:23Zsimplify item type handling, make shorter urisHiltjo Posthumahiltjo@codemadness.orgcommit f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6
parent 536c656498826de19a9aa266f59831df7ef74b5f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:10:23 +0200
simplify item type handling, make shorter uris
make shorter uri by removing gopher:// and the port if it is "70".
536c656498826de19a9aa266f59831df7ef74b5f2018-08-12T16:30:20Z2018-08-12T16:41:41Zfix include for timeJosuah Demangeonmail@josuah.netcommit 536c656498826de19a9aa266f59831df7ef74b5f
parent 40a6ccd6cfb99c2849dff4501a54bc7752b63620
Author: Josuah Demangeon <mail@josuah.net>
Date: Sun, 12 Aug 2018 18:30:20 +0200
fix include for time
musl-libc seems to use <sys/time.h> instead of <time.h>
$ find /usr/include -name '*.ch' -exec grep '^struct timeval' {} +
...
/usr/include/sys/time.h: struct timeval it_interval;
/usr/include/sys/time.h: struct timeval it_value;
...
OpenBSD has this in <sys/time.h>:
#ifndef _TIMEVAL_DECLARED
#define _TIMEVAL_DECLARED
/*
* Structure returned by gettimeofday(2) system call,
* and used in other calls.
*/
struct timeval {
time_t tv_sec; /* seconds */
suseconds_t tv_usec; /* and microseconds */
};
#endif
40a6ccd6cfb99c2849dff4501a54bc7752b636202018-08-12T16:14:09Z2018-08-12T16:14:09Zinitial repoHiltjo Posthumahiltjo@codemadness.orgcommit 40a6ccd6cfb99c2849dff4501a54bc7752b63620
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 18:14:09 +0200
initial repo