Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ.M <me@mynetx.net>2013-06-09 18:41:29 +0400
committerJ.M <me@mynetx.net>2013-06-09 18:41:29 +0400
commit953a530d40f08da902dc33825787dc5c6a473771 (patch)
treeac971ba5551445f4e08eeed7bab3c8b52babeb12 /import_status.php
parent8db55be0c203b396fa92488bce54da5354597957 (diff)
Update session upload progress bug comment in import_status.php
Diffstat (limited to 'import_status.php')
-rw-r--r--import_status.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/import_status.php b/import_status.php
index 4e06ca4103..9b79f3fff6 100644
--- a/import_status.php
+++ b/import_status.php
@@ -7,17 +7,15 @@
/* PHP 5.4 stores upload progress data only in the default session.
* After calling session_name(), we won't find the progress data anymore.
-
+ *
+ * https://bugs.php.net/bug.php?id=64075
+ *
* The bug should be somewhere in
* https://github.com/php/php-src/blob/master/ext/session/session.c#L2342
-
- * Until this is fixed, we need to load the default session to load the data.
- * As we cannot load the phpMyAdmin-session after that, we will try to do
- * an internal POST request to call ourselves in a new instance.
- * That POST request grabs the transmitted upload data and stores them.
*
- * TODO: The internal HTTP request may fail if the DNS name cannot be resolved
- * or if a firewall blocks outgoing requests on the used port.
+ * Until this is fixed, we need to load the default session to load the data,
+ * export the upload progress information from there,
+ * and re-import after switching to our session.
*/
if (version_compare(PHP_VERSION, '5.4.0', '>=')