Changeset 51689 in webkit


Ignore:
Timestamp:
Dec 4, 2009 2:18:42 AM (14 years ago)
Author:
xan@webkit.org
Message:

2009-12-04 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

[GTK]Enable DNS prefetching
https://bugs.webkit.org/show_bug.cgi?id=23846

Bump libsoup required version to 2.29.3 for DNS prefetching.

  • configure.ac:

WebCore:

2009-12-04 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

[GTK]Enable DNS prefetching
https://bugs.webkit.org/show_bug.cgi?id=23846

Enable DNS prefetching.

Based on a patch by José Millán.

  • platform/network/soup/DNSSoup.cpp: (WebCore::prefetchDNS):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r51502 r51689  
     12009-12-04  Xan Lopez  <xlopez@igalia.com>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        [GTK]Enable DNS prefetching
     6        https://bugs.webkit.org/show_bug.cgi?id=23846
     7
     8        Bump libsoup required version to 2.29.3 for DNS prefetching.
     9
     10        * configure.ac:
     11
    1122009-11-30  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    213
  • trunk/WebCore/ChangeLog

    r51688 r51689  
     12009-12-04  Xan Lopez  <xlopez@igalia.com>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        [GTK]Enable DNS prefetching
     6        https://bugs.webkit.org/show_bug.cgi?id=23846
     7
     8        Enable DNS prefetching.
     9
     10        Based on a patch by José Millán.
     11
     12        * platform/network/soup/DNSSoup.cpp:
     13        (WebCore::prefetchDNS):
     14
    1152009-12-04  Zoltan Horvath  <zoltan@webkit.org>
    216
  • trunk/WebCore/platform/network/soup/DNSSoup.cpp

    r37826 r51689  
    11/*
    22 * Copyright (C) 2008 Apple Computer, Inc.  All rights reserved.
     3 * Copyright (C) 2009 Igalia S.L.
    34 *
    45 * Redistribution and use in source and binary forms, with or without
     
    2728#include "DNS.h"
    2829
    29 #include "NotImplemented.h"
     30#include "CString.h"
     31#include "ResourceHandle.h"
    3032
    3133namespace WebCore {
     
    3335void prefetchDNS(const String& hostname)
    3436{
    35     notImplemented();
     37    String uri = "http://"+hostname;
     38    SoupURI* soupUri = soup_uri_new(uri.utf8().data());
     39    soup_session_prepare_for_uri(ResourceHandle::defaultSession(), soupUri);
     40    soup_uri_free(soupUri);
    3641}
    3742
  • trunk/configure.ac

    r51486 r51689  
    191191
    192192# minimum base dependencies
    193 LIBSOUP_REQUIRED_VERSION=2.27.91
     193LIBSOUP_REQUIRED_VERSION=2.29.3
    194194CAIRO_REQUIRED_VERSION=1.6
    195195FONTCONFIG_REQUIRED_VERSION=2.4
Note: See TracChangeset for help on using the changeset viewer.