ObjXMPP  Check-in [3ae82f03d8]

Overview
Comment:Allow IDNs for server and not only domain.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3ae82f03d88f77cdeb0e5dfc1b6a986cd69f5768803c16069028cbf581556755
User & Date: js on 2012-02-03 10:54:23
Other Links: manifest | tags
Context
2012-02-03
14:35
Comments and PIs are not allowed in XMPP -> throw an exception. check-in: ad6f1107ce user: js tags: trunk
10:54
Allow IDNs for server and not only domain. check-in: 3ae82f03d8 user: js tags: trunk
10:43
Hide instance variables from the documentation. check-in: f5739f6ee6 user: js tags: trunk
Changes

Modified src/XMPPConnection.m from [187819bc21] to [381c679903].

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	XMPPSRVEntry *candidate = nil;
	XMPPSRVLookup *SRVLookup = nil;
	OFEnumerator *enumerator;

	if (server)
		[sock connectToHost: server
			       port: port];
	else {
		@try {
			SRVLookup = [XMPPSRVLookup
			    lookupWithDomain: domainToASCII];
		} @catch (id e) {
		}







|







247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	XMPPSRVEntry *candidate = nil;
	XMPPSRVLookup *SRVLookup = nil;
	OFEnumerator *enumerator;

	if (server)
		[sock connectToHost: [self XMPP_IDNAToASCII: server]
			       port: port];
	else {
		@try {
			SRVLookup = [XMPPSRVLookup
			    lookupWithDomain: domainToASCII];
		} @catch (id e) {
		}