semantic-mediawiki.org


● General 

●Semantic MediaWiki

●Introduction

●Getting support

●Community portal

●Open Semantic Data Association

●SMWCon

●Recent changes
 


● Users 

●Manual

●Getting started

●Report a bug

●Sandbox wiki

●MediaWiki
 


● Admini­strators 

●Manual

●Store and search environment

●Features and supplementary functions

●Installation

●Configuration

●Maintenance

●Report a bug

●Sandbox wiki

●MediaWiki
 


● Devel­opers 

●Manual

●Source code

●Code documentation

●Report a bug

●Sandbox wiki

●MediaWiki
 


● ?

●Getting support

●Frequent questions

●Missing content

●Missing translation

●Found an error
 




● ...  

●Discussion
 
●View source

●History
 








●Log in

●Request account
 

















 v2.3.1+ 
 Status:effective
 Progress:100%
 Version:2.3.1+




 English 
 Add a translation

 

$smwg­Sparql­Repository­Connector­Forced­Http­Version

 
From semantic-mediawiki.org
Jump to:navigation, search
 


Configuration parameter details:

Name $smwgSparqlRepositoryConnectorForcedHttpVersion
Description Sets whether CURLOPT_HTTP_VERSION should explicitly be forced for the endpoint communication
Default setting
false
(Other) available settings
true

Allows to explicitly force CURLOPT_HTTP_VERSION for the endpoint communication

Software Semantic MediaWiki
Since version
2.3.1
Until version still available
Configuration Store settings
Keyword sparqlstore · store · sparql


$smwgSparqlRepositoryConnectorForcedHttpVersion is a configuration parameter that sets whether CURLOPT_HTTP_VERSION should explicitly be forced for the endpoint communication. It was introduced to mitigate errors being encountered as being described in issue #1306.1 The configuration parameter was introduced in Semantic MediaWiki 2.3.1Released on 4 January 2016 and compatible with MW 1.19.0 - 1.25.x..2

The setting of this configuration parameter should not be changed unless issue #1306 is being encountered1 due to the following note: "... libcurl to use the specific HTTP versions. This is not sensible to do unless you have a good reason."3

Default setting[edit]

$smwgSparqlRepositoryConnectorForcedHttpVersion = false;

This means that CURLOPT_HTTP_VERSION will not be forced for the endpoint communication.

Changing the default setting[edit]

To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:

Force CURLOPT_HTTP_VERSION for the endpoint communication
$smwgSparqlRepositoryConnectorForcedHttpVersion = true;

This means that CURLOPT_HTTP_VERSION will be forced for the endpoint communication. Options are available as specified at <curl.haxx.se> (CURLOPT_HTTP_VERSION).4

 Important note Important Note: Do not change this setting unless you know what you are doing!

See also[edit]

  • Help page on using SPARQL and RDF stores
  • Help page on configuration parameter $smwgDefaultStoreSets the storage backend to be used for the semantic data


References

  1. a b  Semantic MediaWiki: GitHub issue gh:smw:1306
  • ^  Semantic MediaWiki: GitHub pull request gh:smw:2044
  • ^ curl.haxx.se:CURLOPTHTTPVERSION 
  • ^  CURLOPT_HTTP_VERSION explained

  • Retrieved from "https://www.semantic-mediawiki.org/w/index.php?title=Help:$smwgSparqlRepositoryConnectorForcedHttpVersion&oldid=76352"
     

    Categories: 
    ●Configuration parameters
    ●Document
     












    ●What links here

    ●Related changes

    ●Special pages

    ●Permanent link

    ●Page information

    ●Cite this page

    ●Browse properties
     













    ●This page was last edited on 13 April 2020, at 18:13.

    ●Content is available under "Attribution 3.0 Germany" (CC BY 3.0 DE) unless otherwise noted.
     














    ●Privacy policy

    ●About <semantic-mediawiki.org> (Imprint)

    ●Disclaimers
     




    "Attribution 3.0 Germany" (CC BY 3.0 DE)
    Powered by MediaWiki
    Powered by Semantic MediaWiki