session_write_close added #364
I just learned that PHP does lock it's session objects. This is realy bad if you have multiple images in a page as each one will call fetch.php which locks the session, so everything can only be loaded sequentially. The fix for this is to close the session after using it which is after doing the auth and the breadcrumbs. I added the needed calls everywhere. darcs-hash:20050608213514-9977f-f2dfc467ebbd06406e10e33a386fa1db6cb32dba.gz
Showing
- doku.php 7 additions, 1 deletiondoku.php
- feed.php 4 additions, 1 deletionfeed.php
- inc/common.php 4 additions, 0 deletionsinc/common.php
- lib/exe/ajax.php 2 additions, 0 deletionslib/exe/ajax.php
- lib/exe/fetch.php 3 additions, 0 deletionslib/exe/fetch.php
- lib/exe/media.php 2 additions, 0 deletionslib/exe/media.php
Loading
Please register or sign in to comment