Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
7e382bccde
(send_and_recv): rename to recv_loop and remove the sending of data.
...
add a parameter `limit'. let callers send the date themselves (and
preferably with net_write on tcp sockets)
(send_and_recv_tcp): read first the length field and then only that
many bytes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6902 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-06 13:57:12 +00:00
Assar Westerlund
747be76abf
(send_and_recv): handle EINTR properly. return on EOF. always free
...
data. check return value from realloc.
(send_and_recv_tcp, send_and_recv_http): check advertised length
against actual length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6896 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 17:14:06 +00:00
Assar Westerlund
653f6dbe29
(krb5_sendto_kdc): simplify by using `struct sockaddr_storage'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6527 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 18:42:47 +00:00
Johan Danielsson
2e3525882a
k_{put,get}_int -> _krb5_{put,get}_int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5801 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-29 19:23:33 +00:00
Assar Westerlund
2872ceb0f7
(krb5_sendto_kdc): only call gethostbyname2 with AF_INET6 if we
...
actually have IPv6. From "Brandon S. Allbery KF8NH"
<allbery@kf8nh.apk.net >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5322 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-01 03:09:02 +00:00
Assar Westerlund
d915b0edfa
(krb5_sendto_kdc): care about `use_admin_kdc'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5137 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-25 17:32:24 +00:00
Assar Westerlund
e5339288d5
(krb5_sendto_kdc): don't advance hostent->h_addr_list, use a copy instead
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5085 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-13 13:59:19 +00:00
Assar Westerlund
5e8c0820c4
(krb5_sendto_kdc): do not close the unopened file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5060 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-30 16:18:02 +00:00
Johan Danielsson
fcd77231a5
(krb5_sendto_kdc, send_and_recv_http): Add support for using proxy.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4548 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-06 00:49:29 +00:00
Johan Danielsson
41a2bdc912
Recognize http/' and
udp/' as protocol specifications.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4544 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-05 23:41:23 +00:00
Johan Danielsson
861398aee4
Add TCP client support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4100 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-04 18:17:21 +00:00
Assar Westerlund
dce96a31c3
changed struct fd_set' to
fd_set'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4074 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-29 06:17:18 +00:00
Assar Westerlund
62143c0e4a
use roken* macros
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3700 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:30:58 +00:00
Johan Danielsson
8eb312128d
fix warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3588 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-13 16:30:09 +00:00
Assar Westerlund
4c90a2d058
(krb5_sendto_kdc): no data returned means no contact?
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3541 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-23 01:02:13 +00:00
Assar Westerlund
2ca944d2bc
use new addr_families functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3517 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-21 13:24:31 +00:00
Assar Westerlund
b09f153c01
rename sa_len' ->
sa_size'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3484 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-12 23:22:32 +00:00
Assar Westerlund
4704b3c219
IPv6 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3479 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-12 23:06:36 +00:00
Johan Danielsson
db041ac3d3
context to krb5_getportbyname.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3312 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-31 17:50:05 +00:00
Johan Danielsson
0c50fc2317
Don't use sendto on connected sockets.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3211 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-28 00:06:55 +00:00
Assar Westerlund
8b7bace6cc
fix void * arithmetic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3208 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-27 23:48:27 +00:00
Johan Danielsson
cd7a6421ce
Add http support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3184 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-27 22:38:59 +00:00
Assar Westerlund
71a8ae4fbd
don't remove hostlist before it has been allocated
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2995 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-15 06:49:09 +00:00
Johan Danielsson
cdf1d6aa62
Get timeout from context.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2411 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-17 22:56:26 +00:00
Johan Danielsson
5a32a5c8e7
Add copyright notice.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Johan Danielsson
18797d20ba
Check for NULL return from gethostent.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2362 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 03:45:23 +00:00
Johan Danielsson
de43cd185b
Replace contents with keyvalue. Prepare for use of asn1-types.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1890 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-10 14:25:15 +00:00
Assar Westerlund
aa0c1fc1c0
clean-up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1318 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 11:08:58 +00:00
Johan Danielsson
d7827cfb24
Removed some warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@874 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-21 23:12:23 +00:00
Johan Danielsson
dbdb412ba0
Ugh
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@864 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-20 16:47:54 +00:00
Assar Westerlund
e2475934ac
kinit now builds and works on some machines
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@302 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-03-17 14:59:05 +00:00
Assar Westerlund
e40b97b423
lots of new stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@299 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-03-17 00:51:52 +00:00